Skip to content

IntegraCredit/docker-registry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploying a private Docker registry

  1. git clone git@github.com:aleccunningham/docker-registry.git /opt/registry

  2. cd /opt/registry && cp /etc/letsencrypt/live/$host/fullchain.pem ./certs/$host.crt

  3. cp /etc/letsencrypt/live/$host/privkey.pem ./certs/$host.key

  4. REG_PASSWORD=string make htpasswd

  5. docker-compose up -d

Obtaining certificates

  1. git clone https://github.com/letsencrypt/letsencrypt

  2. cd letsencrypt && certbot-auto certonly --standalone --renew-by-default -d $host

Firewall

Inbound rules:

  • SSH/TCP/22
  • HTTPS/TCP/443
  • HTTP/TCP/80 # For letsencrypt certificates

Outbound rules:

  • ICMP
  • ALL TCP
  • ALL UDP

About

Private Docker registry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%