Open
Description
openedon Dec 21, 2022
Description
Trying to "down" a compose over ssh will fail
It needs to be two or more services inside the compose (one services works)
Similar issue here : #9185
Steps To Reproduce
1: docker-compose.yml
version: '3.8'
services:
busybox1:
image: busybox
command: "sleep 1d"
busybox2:
image: busybox
command: "sleep 1d"
2: Run services, then stop
docker-compose -H ssh://USER@remote up -d && docker-compose -H ssh://USER@remote down
3: An error occurs
[+] Running 2/2
- Container composev2-busybox2-1 Started 1.2s
- Container composev2-busybox1-1 Started 2.8s
[+] Running 1/2
- Container composev2-busybox2-1 Removed 10.5s
- Container composev2-busybox1-1 Error while Removing 11.8s
error during connect: Delete "http://docker/v1.41/containers/9ec831308cba7cd8c68a698c7e1db9985974033918f58def885d18ba9b9059e4?force=1": command [ssh -l USER -- docker-vm docker system dial-stdio] has exited with exit status 1, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=
Compose Version
Docker version 20.10.12, build 20.10.12-0ubuntu4
Docker Compose version v2.14.0
Docker Environment
Client:
Context: default
Debug Mode: false
Server:
Containers: 125
Running: 6
Paused: 0
Stopped: 119
Images: 90
Server Version: 20.10.12
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version:
init version:
Security Options:
apparmor
seccomp
Profile: default
cgroupns
Kernel Version: 5.15.0-56-generic
Operating System: Ubuntu 22.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 30.99GiB
Name: hugues-tribu
ID: OLST:TX4F:WU5G:FY2S:6OSC:HPJ6:E33R:UP6P:OAQU:74T7:VPR2:UEBB
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Anything else?
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment