Closed adomenech73 closed 7 years ago
Thanks for the issue -- --swarm
is a swarm legacy (i.e., not the 1.12 "swarm mode") feature
You can simply point the env
at that host and run manager commands such as service
-- no need for a special --swarm
flag
Thanks @nathanleclaire . only I have a specific doubt about if you can clear for me. Is there any way I can use compose over the swarm cluster without swarm legacy?
@adomenech73 As far as I know, Compose today will not create Swarm mode services. You must use docker service
directly.
However you can docker-compose bundle
to create a "DAB" which you can docker deploy
(this is still highly experimental).
That's great to play while we wait for new functionalities. Thanks again, you really cleared for me very quick!!
👍
I created a swarm cluster using 1.12 mode (docker swarm init & successive swarm join's) But when I try to launch env command with --swarm parameter over the master host I get the following error:
I'm not sure if it can be because I didn't create the swarm cluster directly from docker-machine. Can anyone contrast that point ?