![docker - 带有前端 webUI 的私有注册表(不接收图像)](https://linux22.com/image/708751/docker%20-%20%E5%B8%A6%E6%9C%89%E5%89%8D%E7%AB%AF%20webUI%20%E7%9A%84%E7%A7%81%E6%9C%89%E6%B3%A8%E5%86%8C%E8%A1%A8%EF%BC%88%E4%B8%8D%E6%8E%A5%E6%94%B6%E5%9B%BE%E5%83%8F%EF%BC%89.png)
我使用以下命令为其生成一个新的 Docker 注册表和前端 webUI:
[root@centos-reg ~]# docker run --name registry -d -p 5000:5000 -v /var/docker-reg:/docker-registry-storage lukaspustina/registry-demo
[root@centos-reg ~]# docker run -d -e ENV_DOCKER_REGISTRY_HOST=172.25.122.190 -e ENV_DOCKER_REGISTRY_PORT=5000 -p 8080:80 konradkleine/docker-registry-frontend:v2
现在尝试使用以下方法推送一些图像:
[root@centos-reg ~]# docker push 172.25.122.190:5000/my-ubuntu
The push refers to a repository [172.25.122.190:5000/my-ubuntu]
An image does not exist locally with the tag: 172.25.122.190:5000/my-ubuntu
[root@centos-reg ~]#
&&
root@ubuntu-docker-1:~# docker pull ubuntu:16.04
16.04: Pulling from library/ubuntu
Digest: sha256:84c334414e2bfdcae99509a6add166bbb4fa4041dc3fa6af08046a66fed3005f
Status: Image is up to date for ubuntu:16.04
root@ubuntu-docker-1:~# docker tag ubuntu:16.04 172.25.122.190:5000/my-ubuntu
root@ubuntu-docker-1:~#
root@ubuntu-docker-1:~# docker push 172.25.122.190:5000/my-ubuntu
The push refers to a repository [172.25.122.190:5000/my-ubuntu]
Get https://172.25.122.190:5000/v1/_ping: EOF
root@ubuntu-docker-1:~#
但 repo 仍然显示空白:
我究竟做错了什么?
谢谢。