podman configure insecure certificate registry【podman 设置非安全镜像仓库】

预备条件

设置

bash 复制代码
$ 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
相关推荐
码云之上1 天前
微信小程序设备指纹实践,删了重装还能认出这台手机吗?
前端·安全·微信小程序
半扇排骨1 天前
特别篇:在线 XSS 靶场 haozi 分享与通关笔记
学习·安全·靶场·xss
多加点辣也没关系1 天前
JavaScript|第42章:安全与最佳实践
开发语言·javascript·安全
asaotomo1 天前
把浏览器变成安全工作台:Hx0 鹰眼 v1.0.7 功能全解与 6 个落地场景
安全·web安全·渗透测试·浏览器插件
山东科恩光电2 天前
安全触边在自动化停车场道闸防夹伤保护中的选型安装与日常维护
安全
aifannihao3 天前
ß 大写变 SS:用 Python 算清 Ruby2Shell 的缓冲区账本
python·安全·标准库·缓冲区溢出·字符串编码
CCIE-Yasuo3 天前
网络安全-PHP基础3
安全·web安全·php
未来之窗软件服务3 天前
API接口安全与合作商业秘密架构-东方仙盟
安全·架构·接口安全·仙盟创梦ide·东方仙盟·终端架构
HMS工业网络4 天前
工业远程访问的五项安全部署原则
运维·服务器·安全
知白映川4 天前
一个不上传数据的工具,怎么知道自己有没有人用
安全·架构