I wish there was a “How To Upgrade LXD” page somewhere on the web, that people like me could refer to.
There isn’t one, so here’s my question:
My dev machine is Ubuntu 16.04 Desktop, with LXD 2.x from PPA.
I need to format it and install Ubuntu 18.04, where I’d like to have LXD 3.x from snap.
I would like all my containers to be copied there and continue working.
What’s the procedure I should follow?
I thought of several ways, but I don’t know which would work and which wouldn’t.
For example I thought of creating images from all of my containers (on lxd 2), and then import them into LXD 3 on the new machine. Would that work?
I also thought that maybe I could upgrade LXD on my current machine (to lxd 3 on snap) and see what happens to my containers, and then create images from my containers and then move them to the new machine. Would that work?
Is there some other solution you suggest?