Hi,
Currently, I have my Docker root on a tmpfs and use overlay2 as the storage driver. I am considering backing up the Upperdir for the containers after stopping them, before a host reboot. After the host reboots, I plan to recreate the containers using the same base image and configuration. Post that, I would restore the backed-up Upperdir to the respective containers’ overlay directories and start the containers.
Is this a workable solution, or are there any concerns I should be aware of?.
I dont want to do a docker commit … since that merges the layer into the lowerDir of the image and creates a new image. I was trying to recreate the state if the docker root was on a persistent storage.
Regards
Rt