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
I searched existing issues before opening this one
Expected behavior
Specifying http and/or https proxy via the environment and running the docker client to e.g. list stacks on a remote docker swarm manager should use the proxy to contact the docker host.
Actual behavior
The docker client tries to contact the docker host directly.
Steps to reproduce the behavior
With a squid proxy running on proxy.mycorp.tld port 3128, and a swarm manager running with TLS on docker.mycorp.tld, the following command should list the running stacks:
https_proxy=http://proxy.mycorp.tld:3128 docker -H docker.mycorp.tld:2376 --tlsverify stack ls
When running docker-ce-cli version 19.03.0, the client contacts the docker host directly. With docker-ce-cli version 18.09.8, the proxy is used.
I also tried setting the proxy in ~/.docker/config.json, but this doesn't work either.
Downgrading docker-ce-cli mitigates the issue.
Output of docker version:
Docker version 19.03.0, build aeac9490dc
Output of docker info on the machine where the client is running:
Expected behavior
Specifying http and/or https proxy via the environment and running the docker client to e.g. list stacks on a remote docker swarm manager should use the proxy to contact the docker host.
Actual behavior
The docker client tries to contact the docker host directly.
Steps to reproduce the behavior
With a squid proxy running on proxy.mycorp.tld port 3128, and a swarm manager running with TLS on docker.mycorp.tld, the following command should list the running stacks:
When running docker-ce-cli version 19.03.0, the client contacts the docker host directly. With docker-ce-cli version 18.09.8, the proxy is used.
I also tried setting the proxy in ~/.docker/config.json, but this doesn't work either.
Downgrading docker-ce-cli mitigates the issue.
Output of
docker version
:Output of
docker info
on the machine where the client is running:Output of
docker info
on the swarm manager:Additional environment details (AWS, VirtualBox, physical, etc.)
The swarm cluster tested is running on VMware. The docker clients are running on both virtual and physical machines.
The text was updated successfully, but these errors were encountered: