Docker - private registry with front webUI (not taking in images)

I spawn up a new Docker registry and front-end webUI for it using:

[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= -e ENV_DOCKER_REGISTRY_PORT=5000 -p 8080:80 konradkleine/docker-registry-frontend:v2

and now trying to push some images using:

[root@centos-reg ~]# docker push
The push refers to a repository []
An image does not exist locally with the tag:
[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
root@ubuntu-docker-1:~#  docker push
The push refers to a repository []

But repo still shows blank:

enter image description here

What am I doing wrong?


does it work when you tag it like (note the additional /)

Fixed by:

docker run -d -p 5000:5000 --name registry-srv registry:2

docker run -it -p 8080:8080 --name registry-web --link registry-srv -e REGISTRY_URL=http://registry-srv:5000/v2 -e REGISTRY_NAME= hyper/docker-registry-web

and now per below it shows:

enter image description here

1 Like