Why does Docker keep around the stopped containers? -


what's reason stopped containers kept around? can restarted in way?

because want keep uncommitted changes around recovery, image creation, or general inspection.

stopped containers can restarted command docker start <container-name> , can viewed docker ps -a

in addition can commit changes container (even if container stopped) local registry docker commit <container-name> <repository>:<tag>


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

visual studio - NuGet Automatic Package Restore when using git submodules -

mysql - How to Link PHP Sub Categories(Pages) Dynamically -