This message was deleted.
# python
s
This message was deleted.
d
I think you need it in the format docker expects in the cli, so prefixed with 'tcp://' https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-socket-option
👍 1
b
Thank you @dry-keyboard-94795! I fixed that but now it sends
failed to connect to any docker daemon
which is progress anyway. I'll investigate what else it needs to be done there to connect to the swarm 🙂 .
ok, just noticed that if I connect to the host using passwordless ssh it moves on. However, now I get
error: docker:index/service:Service resource 'nginx-svc' has a problem: Conflicting configuration arguments: "mode.0.replicated": conflicts with mode.0.global. Examine values at 'nginx-svc.mode.0.replicated'.
error: docker:index/service:Service resource 'nginx-svc' has a problem: Conflicting configuration arguments: "mode.0.global": conflicts with mode.0.replicated. Examine values at 'nginx-svc.mode.0.global'.
And removing global_=True from mode is not helping 😕