Docker: save internal hd contents -


is there way save contents of container's "internal" hd. have tried use docker commit when shut down container , turn on again, contents have downloaded or generated inside container (logs, etc) gone.

when start container use docker start or docker run?

docker run -i -t docker/image /bin/bash start new container information original imagefile.

docker start {dockercontainerid} restart running container. can list of previous dockers docker ps -a

if have save docker docker commit {runningdocker} docker/image2 use new image name. ie `docker run -ti docker/image2 /bin/bash


Comments

Popular posts from this blog

sql - Postgresql error: "failed to find conversion function from unknown to text" -

javascript - Why in IE loading image not show at center bottom of page? -

Phantomjs login, redirect and render page after pageLoad finishes -