Hoy vamos a aprender cómo podemos dotar de una interfaz gráfica (UI) a nuestro Docker Registry (repositorio de contenedores Docker).

Para crear la interfaz vamos a utilizar la imagen docker joxit/docker-registry-ui (https://github.com/Joxit/docker-registry-ui)
Primero vamos a crear este docker-compose.yml
version: '3.3'
services:
docker-registry:
image: registry:2
ports:
- '5000:5000'
container_name: docker-registry
restart: always
volumes:
- './registry:/var/lib/registry'
registry-ui:
image: joxit/docker-registry-ui:main
restart: always
container_name: registry-u
ports:
- 80:80
environment:
- SINGLE_REGISTRY=true
- REGISTRY_TITLE=Docker Registry
- DELETE_IMAGES=true
- SHOW_CONTENT_DIGEST=true
- NGINX_PROXY_PASS_URL=http://docker-registry:5000
- SHOW_CATALOG_NB_TAGS=true
- CATALOG_MIN_BRANCHES=1
- CATALOG_MAX_BRANCHES=1
- TAGLIST_PAGE_SIZE=100
- REGISTRY_SECURED=false
- CATALOG_ELEMENTS_LIMIT=1000
Esta imagen se comunica con nuestro docker-registry usando la línea:
NGINX_PROXY_PASS_URL=http://docker-registry:5000
Si nuestro Docker Registry está configurado con password, nos la pedirá antes de entrar a la web.
Para lanzar este contenedor de Docker Compose tendremos que invocar:
docker compose up -d
Y al acceder a localhost aparecerá el panel de control:


Ingeniero en Informática, Investigador, me encanta crear cosas o arreglarlas y darles una nueva vida. Escritor y poeta. Más de 20 APPs publicadas y un libro en Amazon.