Install Docker Registry and WEB UI


What Docker Registry is?

Docker Registry is a stateless, highly scalable server side application that stores and lets you distribute Docker images. The Registry is open-source, under the permissive Apache license.

Why use it

You should use the Registry if you want to:

  • tightly control where your images are being stored
  • fully own your images distribution pipeline
  • integrate image storage and distribution tightly into your in-house development workflow

Install Docker Registry and WEB UI

Install Docker Registry

Run under command:


  • registry-srv ->  container name
  • -p 5000:5000 -> map port 5000 of host and container
  • –restart=always -> alway start container
  • registry:2 ->  image name

Install  Web UI for Registry

Make config file:

File content:


  • readonly: false -> can delete image
  • enabled: false -> Disable authentication

Install Web UI for Registry :


  • registry-web -> container name
  • -p 8080:8080 -> map port 8080 of host and container
  • –restart=always -> alway start container
  • hyper/docker-registry-web -> image name

Access http://IP:8080

How to use Docker Registry

Pull Centos Image

Make image tag

Push image to Docker Registry

Https error:

How to Fix?

  • For docker-io edit file /etc/docker/daemon.json and add { “insecure-registries”:[“”] }
  • For docker ce: edit file /usr/lib/systemd/system/docker.service. Find ExecStart=/usr/bin/dockerd
    and replace ExecStart=/usr/bin/dockerd –insecure-registry -H tcp:// -H unix:///var/run/docker.sock
  • Restart service by command: systemctl daemon-reload and systemctl restart docker

Try push image again

Refresh Web UI page

Try pull pushed image