I am a new one in dockers so it is probably dumb question, but I couldnt figure it out.
I am using Docker Toolbox (windows 10 home) to learn dockers. I build docker on mysql image, created DB, conneted to DB by python. Everything works fine.
But every time I turn off my computer, I have to pull images again, run docker etc.
What is a good practice to save progress on dockers and not to lose any data and waste time:D?
I don't think the image will be lost,but the container will exit. After restarting, you can find your original container using:
docker ps -a
and then start it:
docker start YourContainerName
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.