What happens when the docker host is shut down and restarted?
- will the images that were running be restarted?
- will the changes that were made to those images persist, or will a new instance of the image be spawned and changes be lost?
- does docker have any configuration option, such as the list of images to be automatically executed at startup and the options to run the images? Where? If not, I suppose only the docker command line can be used to alter docker state. Where is that state stored (I suppose somewhere in
/var
). This could be useful to backup the docker state.
(I'd have liked to find this in the FAQ)