首页 > 其他分享 >podman configure insecure certificate registry【podman 设置非安全镜像仓库】

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

时间:2024-01-18 11:01:15浏览次数:30  
标签:ghostwritten configure certificate podman done blob Copying registry


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

预备条件

  • 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


标签:ghostwritten,configure,certificate,podman,done,blob,Copying,registry
From: https://blog.51cto.com/ghostwritten/9304667

相关文章

  • 解决PyCharm显示"No Python Interpreter configured for the project"的问题
    PyCharm提供了许多功能和工具,以帮助开发人员编写、调试和运行Python程序。但是,在启动新项目或打开现有项目时,有时会出现"NoPythonInterpreterconfiguredfortheproject"的错误提示。这意味着PyCharm无法找到配置的Python解释器,导致无法正常运行代码。下面将介绍可能导致此问......
  • dpkg/ error processing package install-info (--configure)/ installed install-inf
    背景介绍在ubuntu20.04中使用apt安装软件时会出现报错dpkg/errorprocessingpackageinstall-info(--configure)/installedinstall-infopackagepost-installationscriptsubprocessreturnederrorexitstatus126这主要是由于不完全安装导致的。解决方式是删除或编辑......
  • CommandNotFoundError: Your shell has not been properly configured to use ‘conda
    问题描述使用condaactivate激活虚拟环境时报错:condaactivatevirtual_env提示内容CommandNotFoundError:Yourshellhasnotbeenproperlyconfiguredtouse'condaactivate'.Toinitializeyourshell,run$condainit<SHELL_NAME>Currentlysupp......
  • podman和vscode dev container的一些问题
    1.MacArm芯片上podmanmachine启动时卡在CurrentStarting起不来。参考这个链接的回答,更新Qemu的文件https://github.com/containers/podman/issues/21096#issuecomment-1872551224Ihavethesameissue,andalsotriedsomemethodsdiscussedin#21088(comment),none......
  • Schema “public“ has version 1.0.0, but no migration could be resolved in the c
    该错误信息是由Flyway报告的,指出在应用程序的数据库迁移过程中遇到了问题。Flyway是一种流行的数据库迁移工具,用于版本控制数据库模式的变化。具体来说,错误信息Schema"public"hasversion1.0.0,butnomigrationcouldberesolvedintheconfiguredlocations!表明以下......
  • Linux Debian11使用国内源安装 Podman环境
    一、Podman简介Podman是一个开源的容器运行时项目,可在大多数Linux平台上使用。Podman提供与Docker非常相似的功能。正如前面提到的那样,它不需要在你的系统上运行任何守护进程,并且它也可以在没有root权限的情况下运行。Podman可以管理和运行任何符合OCI(OpenContainerI......
  • Vite + ESBuild error: No loader is configured for ".node" files: node_modules/fs
    Vite+ESBuilderror:Noloaderisconfiguredfor".node"files:node_modules/fsevents/fsevents.nodeAddfseventstoyouroptimizeDepsexcludeinyourvite.config.jsfile:optimizeDeps:{exclude:["fsevents"]},import{defineConfig......
  • 项目启动报错 No Spring Session store is configured: set the ‘spring.session.sto
    NoSpringSessionstoreisconfigured:setthe‘spring.session.store-type‘property项目启动为啥会报这个错误?这个错误信息表明你的SpringBoot应用程序没有配置SpringSession的存储类型。SpringSession是Spring框架提供的一个用于管理HTTP会话的组件,它可以与不同的存储......
  • Linux Debian12使用podman安装upload-labs靶场环境
    一、upload-labs简介PHP语言编写,持续收集渗透测试和CTF中针对文件上传漏洞的靶场,总共21关,每一关都包含着不同的上传绕过方式。二、安装podman环境LinuxDebian系统如果没有安装podman容器环境,可以参考这篇文章先安装podman环境,LinuxDebian11使用国内源安装Podman环境三、pod......
  • 3、 configure命令详解
    1、configure命令工作检测操作系统内核和已安装的软件相关参数解析中间目录生成生成c源码文件生成Makefile文件2、configure命令参数详解运行./configure--help--helpprintthismessage--prefix=PATHset......