Description
DOCKER_CONTENT_TRUST_SERVER does not work correctly if a port number is provided.
Steps to reproduce the issue:
export DOCKER_CONTENT_TRUST=1
export DOCKER_CONTENT_TRUST_SERVER=https://notary.docker.io:443
docker image pull mariadb/server
Describe the results you received:
Using default tag: latest
unable to reach trust server at this time: 503.
This appears to be a HTTP 503 error.
Describe the results you expected:
Using default tag: latest
Error: remote trust data does not exist for docker.io/mariadb/server: notary.docker.io:443 does not have trust data for docker.io/mariadb/server
Additional information you deem important (e.g. issue happens only occasionally):
Setting DOCKER_CONTENT_TRUST_SERVER=https://notary.docker.io works, but adding a 443 port leads to a HTTP 503 response. Using port 4443 instead leads to connection refused (I believe this is the wrong port anyway).
Output of docker version:
Client:
Version: 18.09.5
API version: 1.39
Go version: go1.10.4
Git commit: e8ff056
Built: Thu May 9 23:11:19 2019
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 18.09.5
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: e8ff056
Built: Thu May 9 22:59:19 2019
OS/Arch: linux/amd64
Experimental: false
Description
DOCKER_CONTENT_TRUST_SERVERdoes not work correctly if a port number is provided.Steps to reproduce the issue:
export DOCKER_CONTENT_TRUST=1export DOCKER_CONTENT_TRUST_SERVER=https://notary.docker.io:443docker image pull mariadb/serverDescribe the results you received:
This appears to be a HTTP 503 error.
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Setting
DOCKER_CONTENT_TRUST_SERVER=https://notary.docker.ioworks, but adding a 443 port leads to a HTTP 503 response. Using port 4443 instead leads toconnection refused(I believe this is the wrong port anyway).Output of
docker version: