A
A
Alexander risok2021-11-30 09:16:05
ubuntu
Alexander risok, 2021-11-30 09:16:05

How to disable docker containers from starting after reboot?

For example, I stopped them. Then he restarted the computer. And they started on their own. Why didn't they remember that I stopped them. How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2021-11-30
@Zarom

For example, set the unless-stopped policy to the restart flag
https://docs.docker.com/config/containers/start-co...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question