0

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?

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

1 Comment

Nope. I tried docker ps -a. It shows me an empty table.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.