我正在使用docker registry,使用minio来存储图像。
以下是我的注册表配置以及运行它的命令
# vim /etc/docker/registry/config.yml
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
delete:
enabled: true
s3:
accesskey: admin
secretkey: adminadmin
region: us-east-1
regionendpoint: http://192.168.44.100:9000
bucket: registry
encrypt: false
secure: false
v4auth: true
chunksize: 5242880
rootdirectory: /
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
docker run -d -p 1080:5000 \
-v /etc/docker/registry:/etc/docker/registry \
-v /data/pass/registry:/var/lib/registry \
--restart always \
--name=registry registry:2.8.3
我上传了一些镜像到注册中心,但是拉起来的时候好像出现了问题;
docker pull 192.168.44.100:1080/stress:0.2
Error response from daemon: manifest for 192.168.44.100:1080/stress:0.2 not found: manifest unknown: manifest unknown
Docker 镜像确实存在
curl -XGET http://192.168.44.100:1080/v2/stress/tags/list
{"name":"stress","tags":["0.2"]}
curl 'http://192.168.44.135:1080/v2/_catalog'
{"repositories":["nginx","stress","testcentos"]}
我不知道哪里出了问题,在我删除了 minio 中的注册表存储桶中的所有数据并重新推送之前,docker pull 工作正常,没有任何问题,但之后我运行 docker pull 并出现标题中显示的问题
期待您的帮助!