Docker for windows error Database lost on docker restart

0 votes
Every time I restart my docker all the database is lost. I'm trying to run docker-compose up on my containers but I cant find any containers.
Sep 20, 2018 in DevOps & Agile by Sophie may
• 10,610 points
821 views

1 answer to this question.

0 votes

If you are using docker-compose down/up, keep in mind that this is not a "restart" because:

  • Docker compose up creates new containers and
  • Docker compose down removes them 
answered Sep 20, 2018 by Tyrion anex
• 8,700 points

Related Questions In DevOps & Agile

0 votes
1 answer
0 votes
1 answer

Docker for Windows error - Connecting a SQL Server database to a Docker container

The latest express sqlserver images with setting ...READ MORE

answered Dec 4, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
1,193 views
0 votes
1 answer

Docker for windows error: can’t access service on exposed port in windows container mode

You can try the following: Access container from different ...READ MORE

answered Dec 12, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
5,320 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,553 views
0 votes
1 answer

Kubernetes on Docker for Windows Error

This issue is with docker for windows ...READ MORE

answered Nov 14, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
788 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP