I am facing difficult task. Company has a server farm on 12.04 LTS Ubuntu running LXC. I must migrate all LXC containers to LXD containers to servers running on 18.04 ubuntu LTS. Any ideas how to migrate around 100 containers?
Google was kind of dry on this topic…
You can create Ubuntu 12.04 containers on LXD. For example,
lxc launch ubuntu:12.04 mycontainer.
That is, ideally you should migrate first the 12.04 LXC containers to 12.04 LXD containers, then figure out how to upgrade them to 18.04.
I was thinking about it but many posts I found on google said it is not enough to copy paste rootfs.