Hi,
I’m a SW developer and I work from multiple physical locations (office, home, secondary home), so I have been taking my labtop with me when going back and forth. I wish to transition to desktop PCs and just move an external SSD disk with all my data.
I wish to put my development environment in one or more LXD container(s), which I can keep on the external disk.
Which would be the simplest way to share these containers between multiple PCs?
So far the best I have come up with is to run the containers independently on each host PC (i.e. backend storage on the host PC) and then export the container image to the external disk at the end of the work day. Move location and then import the image on the next PC and make a new container from the imported image. But this is quite cumbersome and I could easily forget to export before leaving the location. I wouldn’t mind having a script that does the export / import on power down / up, but I was wondering if there isn’t a better way.
Could I create a filesystem on the external disk for one backend storage shared by all LXD instances (one for each host PC)?
A virtual machine would do the trick, but that would come with a performance penalty, so that is not an option.
PS: one location has an unreliable and low speed internet connection, so I need to be able to bring all my data. I also need to be able to start work from a new location without initial internet connection (this is important).