In Docker for Windows: How do I stop containers from automatically starting on the daemon start?

0 votes
Every time my Docker for Windows daemon boots up, it will start a few containers. Even after I kill a container and then reboot the docker daemon, it still appears.

Can someone help me with this?
Sep 3, 2018 in Docker by Sophie may
• 9,050 points
43 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I’m not quite sure as to why this happens but maybe those containers have a restart policy which will make Docker to run them everytime they’re not there?

Anyhow, try this:

If youre containers are running, before killing them, try this:

docker update --restart=no container1 container2 ....

Then reboot and see if those containers are still running.

answered Sep 3, 2018 by Sophie may
• 9,050 points

Related Questions In Docker

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to change hosts in Docker for Windows in daemon.json?

you cannot specify options both as a ...READ MORE

answered Oct 16, 2018 in Docker by Tyrion anex
• 8,280 points
423 views
0 votes
1 answer
0 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
• 56,120 points
56 views
0 votes
2 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.