Video coming soon…

👨‍💻 Setup Docker Registry + Web UI — Your Own Image Registry

Deploy a private Docker Registry on Ubuntu with a web UI — push and pull your own container images with htpasswd authentication, without relying on Docker Hub.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — deploys registry:2 on port 5011 with a web UI on 8213 and generated htpasswd credentials.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/registry/registry-ubuntu.sh
chmod +x registry-ubuntu.sh
sudo bash registry-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/registry/registry-ubuntu.sh

2 Make it Executable

chmod +x registry-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, generates an htpasswd file with the username admin and a random password, then starts registry:2 on port 5011 and the joxit/docker-registry-ui web interface on port 8213.

sudo bash registry-ubuntu.sh

4 Log In and Push an Image

Authenticate against the registry with the generated credentials, then tag and push an image:

docker login <your-server-ip>:5011
docker tag nginx:latest <your-server-ip>:5011/nginx:latest
docker push <your-server-ip>:5011/nginx:latest

Ports Used

PortPurpose
5011Registry API — docker login/push/pull (host → container 5000)
8213Web UI (joxit/docker-registry-ui, host → container 80)

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions