Here is simple example how to bind Docker Registry and Joxit Docker Registry UI
Configure own Docker Registry with 3rd party UI manager: https://github.com/Joxit/docker-registry-ui
- Run Docker compose:
docker-compose up -d - Stop Docker compose:
docker-compose down
-
Edit Docker config
/etc/docker/daemon.json -
Modify file
docker.json
{
"insecure-registries" : ["localhost:5000"]
}
- Restat Docker
sudo service restart docker
- Pull example image:
docker pull busybox - Tag example image with
localhost:5000which represents URL of custom Docker Registry:docker tag busybox localhost:5000/busybox - Remove old image:
docker rmi busybox - Publish new image to custom Docker Registry
docker push localhost:5000/busybox
- Remove pushed image:
docker rmi localhost:5000/busybox - Pull pushed image:
docker pull localhost:5000/busybox
- List images via REST API:
http://localhost:5000/v2/_catalog - User Web UI:
http://localhost:8080/
- Delete via UI:
http://localhost:8080/ - Run GC command:
docker exec registry-srv bin/registry garbage-collect /etc/docker/registry/config.yml