8000 GitHub - moosh3/docker-registry
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

moosh3/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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0