Docker images keep memory state?

Very new to dockers, apologies for the trivial question. I am currently using a virtual machine and creating live snapshots (which, of course, preserve the state of memory, etc.), so when will I be back at that moment. Do Docker snapshots work the same way? If I remove it with the application running, will it recover in the same state?

+5
source share
2 answers

Not. It saves β€œlayers”, which are essentially overlays in the file system, with different magic for environment variables, ports, etc. The memory status is not saved.

+10
source

The CRIU project is working on a technology that will simplify the breakpoint and transfer containers, including snapshots of RAM.

+8
source

Source: https://habr.com/ru/post/1203966/


All Articles