Setting up Docker Private Registry

create a folder which name is docker-private-registry

then install docker compose

pip install docker-compose

then create the docker-compose.yml

registry:
image: registry
environment:
– STORAGE_PATH=/registry
volumes:
– registry-stuff:/registry
ports:
– “5000:5000”

run the compose file with

docker-compose up

then you will see the blank page when you visit http://localhost:5000

private registry is done but i found the nice ui for registry

 

Leave a comment