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
Post a Comment