搭建Registry&Harbor私有仓库、Dockerfile(八)
registry: image: registry:latest container_name: registry restart: always volumes: - /data/registry:/var/lib/registry environment: - VIRTUAL_HOST=registry.wxy.work - VIRTUAL_PORT=5000
# 指定私有仓库 # vim /etc/docker/daemon.json { "insecure-registries":["registry.wxy.work"]
}