Score:0

`docker-compose.override.yml` `restart: no`: containers still start up after reboot

kr flag

In my base configuration I have a few services with restart: always and in my override configuration I have those services with restart: "no", but when I reboot the host the containers are started up again. I'm expecting the containers to still be stopped, am I missing something here?

Score:0
kr flag

It seems that since I created the containers before adding my override config the containers retained the restart: always policy.

I used this answer to update the policy to no and the containers do not restart now.

https://stackoverflow.com/a/37479753/4281998

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.