I have been using docker-compose to build and remotely deploy docker images/containers for the past two years (since 2020). Just this last week the my working docker-compose commands fail to connect to my remote host.
I have been using proper DOCKER_HOST, DOCKER_TLS_VERIFY, and DOCKER_CERT_PATH variables defined in the .env file. It appears that the commands work, to build and deploy, but they only deploy to my local machine. I have two different desktops (one on windows 10 and one running windows 11) that behave the same way. I am running Docker Desktop 4.12.0 (85629) on both systems.
Commands
- docker-compose down
- docker-compose build
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
Docker versions
Docker Desktop 4.12.0 (85629)
Docker version 20.10.18, build b40c2f6
Client: Docker Engine - Community
Version: 20.10.18
API version: 1.41
Go version: go1.18.6
Git commit: b40c2f6
Built: Thu Sep 8 23:11:34 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.18
API version: 1.41 (minimum version 1.12)
Go version: go1.18.6
Git commit: e42327a
Built: Thu Sep 8 23:09:28 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Things Iāve Done
- Upgraded the version of Docker Community on my remote host
- Verified that my Remote Host is functioning
- Verified that my SSL certificates which are protecting the remote service are valid.
I have opened a ticket with Docker on Friday 9/16/2022, but I havenāt heard anything back. Can anyone confirm this issue or do you have any ideas?
Thank you,
Richard