Skip to content

Cannot push image to the private registry #54

Description

@rootsongjc

After I followed the instructions and installed harbor, I can't push my image to the private registry.
Environment: CentOS 7.1 / Docker 1.10 / IP 172.17.1.31
I appended this line to /etc/sysconfig/docker.
OPTIONS='--selinux-enabled --ipv6=false --insecure-registry=172.17.1.31:5001'
But when I push a image,
docker push 172.17.1.31:5001/ubuntu:14.04
I got these logs.
The push refers to a repository [172.17.1.31:5001/ubuntu]
unable to ping registry endpoint https://172.17.1.31:5001/v0/
v2 ping attempt failed with error: Get https://172.17.1.31:5001/v2/: dial tcp 172.17.1.31:5001: getsockopt: connection refused
v1 ping attempt failed with error: Get https://172.17.1.31:5001/v1/_ping: dial tcp 172.17.1.31:5001: getsockopt: connection refused
Anyone have idea?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions