docker-registry-nginx
Nginx image to protect your private Docker registry.
Requirements
- docker
- docker-compose
- apache2-utils
How to use
- Clone the repo:
git clone https://github.com/atipugin/docker-registry-nginx
cd docker-registry-nginx
- Add authorized users:
htpasswd -c docker-registry.htpasswd <USER>
-
Configure registry container using env variables in
docker-compose.yml
file. -
Run it:
docker-compose up -d