Closed drenderyga closed 5 months ago
@drenderyga thank for raising this. Are you using the Docker Scout CLI on a host that has Docker Desktop installed and a proxy configured?
@cdupuis no, it's not Docker desktop host.
docker version
Client: Docker Engine - Community
Version: 25.0.1
API version: 1.44
Go version: go1.21.6
Git commit: 29cf629
Built: Tue Jan 23 23:09:23 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 25.0.1
API version: 1.44 (minimum version 1.24)
Go version: go1.21.6
Git commit: 71fa3ab
Built: Tue Jan 23 23:09:23 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.27
GitCommit: a1496014c916f9e62104b33d1bb5bd03b0858e59
runc:
Version: 1.1.11
GitCommit: v1.1.11-0-g4bccb38
docker-init:
Version: 0.19.0
GitCommit: de40ad0
To be clear, on Windows with Docker Desktop, scout working correctly with proxy settings.
Thank you, that is helpful.
Hi @drenderyga
How is setup/defined your proxy? When there's no Docker Desktop, we are using the default behaviour from Go, that is to rely on the HTTP_PROXY
, HTTPS_PROXY
environment variables. So if you define those environment variables that should work.
BTW Docker scout CLI is not using the daemon configuration.
Hi @eunomie Yes, you are right. If I use export HTTP_PROXY it works. Thank you for your message about daemon configuration, i thought that it's usefull for CLI too.
Hello everyone!
I'm using proxy to requests to github.com and docker resources on my docker host.
When i'm using docker scout, all requests sending without proxy and gives me the message about login.
docker login working correctly and sending requests through proxy, but docker scout doesn't.
on fw i see requests without proxy