Docker Swarm: Using a different name is not supported! #650
-
Hello As anyone tried to run this container with docker swarm? I can't get it to work due to the container name not being the expected one. I don't know if I am the only one trying to run it that way, but I have an high-available docker swarm cluster I'd like to use. My docker-compose file:
I tried setting the hostname of the container using I am getting this when trying to run the container:
Anybody has an idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello, this message has nothing to do with using it with docker swarm. However using a different name for the container is indeed not supported. See https://github.com/nextcloud/all-in-one/blob/main/docker-compose.yml for a working docker-compose file. |
Beta Was this translation helpful? Give feedback.
-
All right. After thinking a bit about this, I am not sure if it makes any sense to run AIO with docker swarm since AIO manages the containers on its own and you don't have any influence on how it is done in detail. However you might be interested in this: https://github.com/nextcloud/all-in-one/tree/main/manual-install |
Beta Was this translation helpful? Give feedback.
All right. After thinking a bit about this, I am not sure if it makes any sense to run AIO with docker swarm since AIO manages the containers on its own and you don't have any influence on how it is done in detail. However you might be interested in this: https://github.com/nextcloud/all-in-one/tree/main/manual-install