1、运行 Registry
./image.sh
将 Registry 镜像运行并生成一个容器
docker run -d -v /opt/registry:/var/lib/registry -p 5000:5000 --restart=always --name registry registry:latest
使用 docker ps 命令查看容器运行情况:

2、使用 curl 命令查看仓库中的镜像:
curl -L http://10.18.4.10:5000/v2/_catalog

网友评论