docker-registry-frontend
我们使用 docker-compose 来安装和运行,docker-compose.yml 配置如下:
version: '3.1'
services:frontend:image: konradkleine/docker-registry-frontend:v2restart: alwaysports:- 8080:80volumes:- ./certs/frontend.crt:/etc/apache2/server.crt:ro- ./certs/frontend.key:/etc/apache2/server.key:roenvironment:- ENV_DOCKER_REGISTRY_HOST=192.168.106.128- ENV_DOCKER_REGISTRY_PORT=5000
注意:请将配置文件中的主机和端口换成自己仓库的地址
运行成功后在浏览器访问:http://192.168.106.128:8080