You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems between the latest docker-ce (20.10.22, build 3a2c30b) and - not sure, i believe - version 18, this stopped working. I am receiving ssh errors.
docker compose --verbose -f docker-compose-stack.yml build
DEBU[0000] using default config store "/Users/bas/.docker/buildx"
DEBU[0000] commandconn: starting ssh with [-l root -- xxxx.xxxx.nl docker system dial-stdio]
DEBU[0001] commandconn: starting ssh with [-l root -- xxxx.xxxx.nl docker system dial-stdio]
[+] Building 8.0s (2/2) FINISHED
=> CANCELED [internal] load .dockerignore 0.0s
=> CANCELED [internal] load build definition from Dockerfile 0.0s
DEBU[0001] commandconn: starting ssh with [-l root -- xxxx.xxxx.nl docker system dial-stdio]
DEBU[0002] unimplemented call: SetDeadline(2023-02-08 14:17:28.708204 +0100 CET m=+21.784783292)
DEBU[0002] unimplemented call: SetDeadline(0001-01-01 00:00:00 +0000 UTC)
DEBU[0002] unimplemented call: SetReadDeadline(0001-01-01 00:00:00 +0000 UTC)
DEBU[0002] commandconn: starting ssh with [-l root -- xxxx.xxxx.nl docker system dial-stdio]
DEBU[0002] stopping session span="load buildkit capabilities"
EBU[0002] commandconn (ssh):ssh: connect to host xxxx.xxxx.nl port 22: Connection refused
DEBU[0002] commandconn: starting ssh with [-l root -- xxxx.xxxx.nl docker system dial-stdio]
EBU[0002] commandconn (ssh):ssh: connect to host xxxx.xxxx.nl port 22: Connection refused
DEBU[0002] stopping session
failed to dial gRPC: command [ssh -l root -- xxxx.xxxx.nl docker system dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=ssh: connect to host xxxx.xxxx.nl port 22: Connection refused
The unimplemented call debug lines should be fine - those options aren't supported for SSH connections but just mean the deadlines won't be respected.
Your error shows that the connection is being refused by the host:
connect to host xxxx.xxxx.nl port 22: Connection refused
Typically, network errors like this are not caused by Compose, but are the result of a misconfiguration elsewhere. For example, are all firewall ports open? Can you build images using docker buildx build using the same context?
Yes well that's what I thought. However an older version (v18 I believe) did it no problem. I upgraded to the latest and then I run into this.
I have disabled the firewall and also tried on a new digital ocean box.
I've noticed sshd starts blocking me for 30 seconds. I believe due to many auth attempts. But I just don understand why the attempt would be incorrect...
turns out it was the firewall. It had rate limiting enabled for ssh which means the 6th connection within 30 seconds is denied. sorry for the confusion...
Description
Hi, I have the following workflow on a swarm manager.
For this I do the following;
I have created an overlay network once.
Then I run (locally) after my images have changed to build a new image with the image name from docker-compose-stack.yml.
And finally I deploy my stack with
This used to work with an docker-compose-stack.yml file as follows
It seems between the latest docker-ce (20.10.22, build 3a2c30b) and - not sure, i believe - version 18, this stopped working. I am receiving ssh errors.
Steps To Reproduce
No response
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: