[lxc-users] upgrade lxc1 to lxc2/lxd
Andrey Repin
anrdaemon at yandex.ru
Mon May 30 15:41:47 UTC 2016
Greetings, Robert Gierzinger!
> Hi,
> We got new hardware so I wanted to transfer the containers from our old
> servers using 1.0 and 1.1 to our new hardware.
> I created tarballs from the rootfs and a dummy metadata.yml. So we have the
> template "testing", and a "lxc launch testing testing2" brought an error
> "error: open
> /var/lib/lxd/containers/testing2/templates/upstart-override.tpl: no such file or directory"
> Previously copying the file to that location results in a "error: The container already exists"
> We use Ubuntu 14.04 (amd64) and the new hardware Ubuntu 16.04 (amd64).
> Is there a suggested way I haven't found to migrate the containers from 1.X to 2.0?
Your mistake is not that you're migrating from oldhost/1.0 to newhost/2.0, but
that you are trying to migrate from LXC to LXD.
Install LXC and it'll be a straightforward process.
--
With best regards,
Andrey Repin
Monday, May 30, 2016 18:39:57
Sorry for my terrible english...
More information about the lxc-users
mailing list