Skip to content

Web-interface for local container registery. Docker + NGINX + SSL

Notifications You must be signed in to change notification settings

geniusserg/DockerRegistry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-registry

How to setup

Local registry with UI

docker network create registry-ui-net

docker run -d --net registry-ui-net --name registry-srv registry:2

docker run -d --net registry-ui-net -p 80:80 -e REGISTRY_URL=http://registry-srv:5000 -e DELETE_IMAGES=true -e REGISTRY_TITLE="My registry" joxit/docker-registry-ui:static

Authentication

apt install apache2-utils

htpasswd -c password admin (To add new user remove -c flag)

cp password nginx/auth

Get SSL Certificate

SSLforFree

cat sertificate.crt ca_bundle.crt > server.crt

cp private.key certs

cp server.crt certs

Launch

docker-compose up

Open in browser

https:// (admin/admin)

Useful links

https://188.225.72.43/ (My Registry (admin/admin))

https://docs.docker.com/registry (Documentation)

https://github.com/Joxit/docker-registry-ui (Web UI)

https://www.sslforfree.com/ (free SSl)

https://github.com/ind9/registry-s3 (AWS S3 Drive)

About

Web-interface for local container registery. Docker + NGINX + SSL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages