Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Can't use FQDN of host when pushing images to remote registry (Unsecure) #1115

Open
Annihil8ted opened this issue Apr 30, 2018 · 2 comments
Open
Labels

Comments

@Annihil8ted
Copy link

Hello All,

I'm using Ubuntu 14.04 LTS.

Client:
Version: 18.02.0-ce
API version: 1.36
Go version: go1.9.3
Git commit: fc4de44
Built: Wed Feb 7 21:16:47 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm

Server:
Engine:
Version: 18.02.0-ce
API version: 1.36 (minimum version 1.12)
Go version: go1.9.3
Git commit: fc4de44
Built: Wed Feb 7 21:15:21 2018
OS/Arch: linux/amd64
Experimental: false

When running the following on host machine:
docker run -d -p 5000:5000 --restart=always --name registry registry:2

From a remote machine, I cannot push using the host FQDN. I must tag and push using the ip.

@Annihil8ted
Copy link
Author

Annihil8ted commented Apr 30, 2018

If I push using FQDN, it continually attempts to retry until a 503 is hit. I've done the installation once over already and have produced the same errors. I also tried via enabling self-signed HTTPS and I get the same issue.

@dmp42
Copy link
Contributor

dmp42 commented Sep 10, 2018

@Annihil8ted to be able to provide insight in this, we need your configuration (redacted), the exact command line you have been using, and both the registry logs and docker daemon logs (from where you are trying to pull).

@dmp42 dmp42 added the question label Sep 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants