πŸ‹ Building My Own Docker Registry

Having all my images in one place.

Nil

docker

Infrastructure

133 Words Reading Time: 36 Seconds

09-21-2024 12:03 +0000


Building My Own Docker Registry

Since some time ago, I’ve been adding more and more docker containers to my VPS. First, I’ve added my project Password Checker, which has the front and the back, each one in a different image. Of course there are some more, but I don’t want to bore you with the details. So, after some time, I wanted to keep all my images in one place.

How?

For that, I’ve created my own Docker Registry. Using the registry image, It was quite easy. Nonetheless, be aware! By default, the registry is not secure. You should add a reverse proxy in front of it, configure it to use HTTPS and add some authentication.

Security

In my case, I’ve used htpasswd and used my SSL certificate with the help of certbot.