文章来源地址https://www.toymoban.com/news/detail-777767.html
预备条件
- docker registry仓库私搭并配置证书
- centos 7.9 部署 harbor 镜像仓库实践
- harbor 部署入门指南
- Podman 部署私有镜像仓库
设置
$ vim /etc/hosts
192.168.23.47 registry.ghostwritten.com
$ vim /etc/containers/registries.conf
...
[[registry]]
location = "registry.ghostwritten.com"
insecure = true
$ sudo systemctl restart podman
$ podman login -u admin registry.ghostwritten.com
Password:
Login Succeeded!
$ podman pull registry.ghostwritten.com/k8s-public/curlimages/curl:7.85.0
Trying to pull registry.ghostwritten.com/k8s-public/curlimages/curl:7.85.0...
Getting image source signatures
Copying blob df9b9388f04a done
Copying blob b6a21241ef17 done
Copying blob 17b4f9600428 done
Copying blob b07eadfb9305 done
Copying blob 4ad5b64acddc done
Copying blob ffaca4cc7d5a done
Copying blob e02c9f2ce612 done
Copying blob 8e26c9329104 done
Copying blob 1000da985f9b done
Copying blob a4bd3c08ea7a done
Copying blob a32f5307f213 done
Copying config dddbb581f8 done
Writing manifest to image destination
Storing signatures
dddbb581f872d3d5a5083a31888badf4aace9bd73a6393d2289f9d47667b92c2
文章来源:https://www.toymoban.com/news/detail-777767.html
到了这里,关于podman configure insecure certificate registry【podman 设置非安全镜像仓库】的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!