Exporting from lxc and importing to lxd


Hi there,

i have a bunch of LXC container (some of this pulled from docker hub, so thanks a lot for this fantastic features) and now i want to migrate all to LXD.

What are the most simple step to achieve that?

thanks lot, i love lxd

There is a lxc-to-lxd tool that may help you with that.
You’ll need the Go compiler and then can build it with:

go get github.com/lxc/lxd/lxc-to-lxd

This will then use the LXD migration API and rsync to transfer your LXC containers to LXD.

1 Like

Thanks! works as expected :slight_smile: