coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
32.75k stars 1.73k forks source link

[Bug]: docker swarm #1854

Open alteoxCOM opened 7 months ago

alteoxCOM commented 7 months ago

Description

Hi,

I am trying to add a docker swarm master, based on your documentation (WIP) but unfortunatly I always receive this error:

Ignoring unsupported options: restart

Ignoring deprecated options:

container_name: Setting the container name is not supported.

this node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again

Any idea?

Minimal Reproduction (if possible, example repository)

https://coolify.io/docs/docker/swarm

Exception or Error

No response

Version

4.0.0-beta.239

celevra commented 2 months ago

same here but a little different error:

Ignoring unsupported options: restart

Ignoring deprecated options:

container_name: Setting the container name is not supported.

network "coolify" is declared as external, but it is not in the right scope: "local" instead of "swarm"

i'm on arm Ubuntu 20.04.6 LTS

swarm:

ID                            HOSTNAME          STATUS    AVAILABILITY   MANAGER STATUS   ENGINE VERSION
8nmw95074e0zb0fv66qjnb29y *   zkube01.xxx.it   Ready     Active         Leader           24.0.9
pfxkae4bn3ok1w82hgbp6ym71     zkube02.xxx.it   Ready     Active                          24.0.9
zbnrm2dgdci2s0lpyn0d3o7x8     zkube03.xxx.it   Ready     Active                          24.0.9
egxw7n4uyzbdehzyntg3h89vm     zkube04.xxx.it   Ready     Active                          24.0.9
l4ekh7j9u6b0txsctz1scv5to     zkube05.xxx.it   Ready     Active                          24.0.9
l28vdwfngy24el026qyi6kimg     zkube06.xxx.it   Ready     Active                          24.0.9
bnxdxmtdh7x4u0wzxqpw2kbmv     zkube07.xxx.it   Ready     Active                          24.0.9
u82lnnt0n82m84q932ret1gvn     zkube08.xxx.it   Ready     Active                          24.0.9
u5rq21dg6aho39udny8ulibh8     zkube09.xxx.it   Ready     Active                          24.0.9
hdpqh3s96vrtkfx2jqym9fhgi     zkube10.xxx.it   Ready     Active                          24.0.9
jmv96hhh59m8ih7y5kzs2ttlp     zkube11.xxx.it   Ready     Active                          24.0.9

networks

zkube01 ~ # docker network ls
NETWORK ID     NAME              DRIVER    SCOPE
0183a00b6654   bridge            bridge    local
487279a5cd43   coolify           bridge    local
apsueesq7o4l   coolify-overlay   overlay   swarm
4eddec790c66   docker_gwbridge   bridge    local
a976645c669b   host              host      local
z03zkmh2h4h9   ingress           overlay   swarm
455536d4fecb   none              null      local