Few Boundaries, Expandable Box

Docker Registry

This quick guide will guide you on how to use Docker Registry.

Install

https://docs.docker.com/registry/
/etc/docker/registry/config.yml
NAS: /var/lib/registry - > /share/DevOps/registry

Installation and setup of Docker.

Container Install
1docker run -d -p 5000:5000 --name registry registry:2.7

Delete Image

Enable Delete Image
1delete:
2  enabled: true
Garbage Collection
1/bin/registry garbage-collect /etc/docker/registry/config.yml --delete-untagged
2cd /var/lib/registry/docker/registry/v2/repositories