Nextcloud containers won't auto start after Docker Desktop restart

I’m using Docker Desktop on MacOS. The nextcloud-aio-mastercontainer container is set to always restart. When I restart Docker Desktop, the master container starts but none of the child containers do. I can manually start them and they are fine. And if I go into the Nextcloud AIO v11.2.1 interface I am able to start them there. But they just don’t auto start.

Any ideas why this is happening or how to fix it?

Hi, I found this: Google Search

That feels like a very sarcastic “let me google that for you” response, and unfortunately is not helpful.

As mentioned, the master container does always restart correctly. The issue is with the child Nextcloud containers that are spawned by the master container. Is it not the master container’s responsibility to launch the child containers when it spins up?

@psychedelicu @Joly0 You were discussing a very similar issue in the now-closed Nextcloud AIO containers don't start containers thread. Did you ever happen to find a good way to auto start child containers? Thanks in advance for any input you can provide!

No, it is not meant to be a sarcastic reply. Indeed Docker Desktop should start the containers automatically once the server reboots because the restart policy unless-stopped is applied to all sibling containers. So not sure why it does not do this. I suspect either a bug in docker desktop or it stops all containers before exiting the docker desktop upon reboot and not remembering the state of the containers and thus not starting them upon start of docker desktop. Either way this needs to be fixed in docker desktop imho.

Thank you for clarifying, @szaimen. Is there a way I can change the restart policy from unless-stopped to always? Since these are spawned by the master container, I don’t know if/where I can set that so that it is retained after an update.

@szaimen Do you know if there is a way to change the restart policy for child containers when using AIO?

It is not possible

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.