Toolset for easy setup private Docker Registry
Granty crane combines six awsome tools to easy create your own private docker registry:
- Docker Registry V2 which hosts your docker images
- Portus registry authentication service (including LDAP) and registry UI
- Portainer lightweight container management UI
- Nginx as reverse proxy
- Docker-gen which automatically generates reverse proxy configs to route requests from the host to containers
- letsencrypt-nginx-proxy-companion a lightweight companion container which allows the creation/renewal of Let's Encrypt certificates automatically
- Docker engine and Docker compose installed on host
- Public available domain names for docker registry, registry UI and container management service
- Host should be accessible from the internet to recieve Let's Encrypt ssl certificates
- Run prepare script which creates all nessesary data directories, configuration files and docker compose files
./install.sh --nginx-http=80 --nginx-https=443 \
--data-root=/path/to/data \
[email protected] \
--portainer-fqdn=portainer.example.com \
--registry-fqdn=registry.example.com \
--registry-ui-fqdn=hub.example.com
- Navigate to
/path/to/data/compose/nginx
and rundocker-compose up -d
to start nginx reverse proxy with Let's Encrypt SSL support - Navigate to
/path/to/data/compose/registry
and rundocker-compose up -d
to start Docker Registry with Portus UI and authentication service and Portainer docker management UI