7.10. 访问私有 bootc 容器 registry
您可以在 bootc 部署中使用私有容器 registry。bootc 镜像使用 pull secret,可让您使用私有镜像来管理系统置备。
7.10.1. 启用 bootc 以访问私有 registry 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
bootc 无法在访问 registry 时禁用 TLS 验证。您可以使用 /etc/containers/registries.conf.d 配置访问私有 registry 时全局禁用 TLS 验证。
先决条件
- 您可以访问私有 registry。
流程
禁用 TLS 验证:
# /etc/containers/registries.conf.d/local-registry.conf [[registry]] location="localhost:5000" insecure=true
验证
- 检查您是否已禁用了 TLS 验证。
后续步骤
- 配置 bootc 以访问私有 registry。