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
{{ message }}
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
Similarly to #168 docker scan does not work behind a corporate proxy with self-signed certificates.
How can we tell docker scan which CA Roots to trust?
Steps to reproduce the issue:
$ docker scan myimage
Describe the results you received:
unable to verify the first certificate
Describe the results you expected:
Since curl https:// works, I know my linux system trusts my proxy's CA.
Additional information you deem important (e.g. issue happens only occasionally):
cp myca.pem ~/.docker/ca.pem
DOCKER_TLS_VERIFY=0 docker scan myimage
Cannot connect to the Docker daemon at tcp://localhost:2376. Is the docker daemon running?
Output of docker version:
Client: Docker Engine - Community
Version: 20.10.13
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 10 14:07:51 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.13
API version: 1.41 (minimum version 1.12)
Go version: go1.16.15
Git commit: 906f57f
Built: Thu Mar 10 14:05:44 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.10
GitCommit: 2a1d4dbdb2a1030dc5b01e96fb110a9d9f150ecc
runc:
Version: 1.0.3
GitCommit: v1.0.3-0-gf46b6ba
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Description
Similarly to #168 docker scan does not work behind a corporate proxy with self-signed certificates.
How can we tell docker scan which CA Roots to trust?
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Since curl https:// works, I know my linux system trusts my proxy's CA.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker scan --version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
On-Prem Ubuntu 20.04 AMD64
The text was updated successfully, but these errors were encountered: