Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Virtualization
  • Red Hat Identity Management
  • Red Hat Directory Server
  • Red Hat Certificate System
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Update Infrastructure
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat CloudForms
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Online
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Thorntail
  • Red Hat build of Eclipse Vert.x
  • Red Hat build of OpenJDK
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Integration
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
  • Red Hat JBoss Data Virtualization
  • Red Hat Process Automation
  • Red Hat Process Automation Manager
  • Red Hat Decision Manager
All Products

Table of contents

  1. 管理 Red Hat Quay
  2. 前言
  3. 1. 高级 Red Hat Quay 配置
    1. 1.1. 使用 Red Hat Quay Config Tool 修改 Red Hat Quay
      1. 1.1.1. 从 Red Hat Quay Operator 运行 Config Tool
      2. 1.1.2. 从命令行运行 Config Tool
      3. 1.1.3. 使用 TLS 证书部署配置工具
    2. 1.2. 使用 API 修改 Red Hat Quay
    3. 1.3. 编辑 config.yaml 文件以修改 Red Hat Quay
      1. 1.3.1. 将 name 和 company 添加到 Red Hat Quay Sign-in
      2. 1.3.2. 禁用 TLS 协议
      3. 1.3.3. 速率限制 API 调用
      4. 1.3.4. 调整数据库连接池
        1. 1.3.4.1. 数据库连接参数
        2. 1.3.4.2. 数据库 SSL 配置
          1. 1.3.4.2.1. PostgreSQL SSL 连接参数
          2. 1.3.4.2.2. MySQL SSL 连接参数
        3. 1.3.4.3. HTTP 连接计数
        4. 1.3.4.4. 动态进程计数
        5. 1.3.4.5. 环境变量
        6. 1.3.4.6. 关闭连接池
  4. 2. 使用配置 API
    1. 2.1. 检索默认配置
    2. 2.2. 检索当前配置
    3. 2.3. 使用 API 验证配置
    4. 2.4. 确定必填字段
  5. 3. 获取 Red Hat Quay 发行通知
  6. 4. 使用 SSL 保护到 Red Hat Quay 的连接
    1. 4.1. 使用 SSL 简介
    2. 4.2. 创建证书颁发机构并签署证书
      1. 4.2.1. 创建证书颁发机构
      2. 4.2.2. 签署证书
    3. 4.3. 使用命令行配置 SSL
    4. 4.4. 使用 UI 配置 SSL
    5. 4.5. 使用命令行测试 SSL 配置
    6. 4.6. 使用浏览器测试 SSL 配置
    7. 4.7. 配置 podman 信任证书颁发机构
    8. 4.8. 将系统配置为信任证书颁发机构
  7. 5. 在 Red Hat Quay Container 中添加 TLS 证书
    1. 5.1. 在 Red Hat Quay 中添加 TLS 证书
    2. 5.2. 在 Kubernetes 上部署时添加证书
  8. 6. 为 Elasticsearch 配置操作日志存储
  9. 7. Clair 安全扫描
    1. 7.1. 在 Red Hat Quay OpenShift 部署上设置 Clair
      1. 7.1.1. 部署 Via Quay Operator
      2. 7.1.2. 手动部署 Clair
    2. 7.2. 在非 OpenShift Red Hat Quay 部署上设置 Clair
    3. 7.3. 高级 Clair 配置
      1. 7.3.1. 非受管 Clair 配置
        1. 7.3.1.1. 取消管理 Clair 数据库
        2. 7.3.1.2. 配置自定义 Clair 数据库
      2. 7.3.2. 使用 受管 数据库运行自定义 Clair 配置
    4. 7.4. Clair CRDA 配置
      1. 7.4.1. 启用 Clair CRDA
    5. 7.5. 使用 Clair
    6. 7.6. 国家漏洞数据库中的 CVE 等级
    7. 7.7. 为断开连接的环境配置 Clair
      1. 7.7.1. 将存储库映射到常见产品枚举(CPE)信息
    8. 7.8. Clair 更新器 URL
    9. 7.9. 其它信息
  10. 8. 使用 Container Security Operator 扫描 pod 镜像
    1. 8.1. 在 OpenShift Container Platform 中下载并运行 Container Security Operator
    2. 8.2. 通过 CLI 查询镜像漏洞
  11. 9. 将 Red Hat Quay 与 Quay Bridge Operator 集成
    1. 9.1. 为 Quay Bridge Operator 设置 Red Hat Quay Bridge
    2. 9.2. 在 OpenShift Container Platform 上安装 Quay Bridge Operator
    3. 9.3. 为 OAuth 令牌创建 OpenShift Container Platform secret
    4. 9.4. 创建 QuayIntegration 自定义资源
      1. 9.4.1. 可选:使用 CLI 创建 QuayIntegration 自定义资源
      2. 9.4.2. 可选:使用 Web 控制台创建 QuayIntegration 自定义资源
    5. 9.5. QuayIntegration 配置字段
  12. 10. 存储库镜像
    1. 10.1. 存储库镜像
    2. 10.2. 存储库镜像与 geo-replication
    3. 10.3. 使用存储库镜像
    4. 10.4. 镜像配置 UI
    5. 10.5. 镜像配置字段
    6. 10.6. 镜像 worker
    7. 10.7. 创建已镜像的存储库
      1. 10.7.1. 存储库镜像设置
      2. 10.7.2. 高级设置
      3. 10.7.3. 现在同步
    8. 10.8. 镜像的事件通知
    9. 10.9. 镜像标签模式
      1. 10.9.1. 模式语法
      2. 10.9.2. 标签模式示例
    10. 10.10. 使用已镜像的存储库
    11. 10.11. 存储库镜像建议
  13. 11. IPv6 和双栈部署
    1. 11.1. 启用 IPv6 协议系列
    2. 11.2. 启用双栈协议系列
    3. 11.3. IPv6 和 dua-stack 限制
  14. 12. Red Hat Quay 的 LDAP 身份验证设置
    1. 12.1. 启用 LDAP 之前的注意事项
      1. 12.1.1. 现有的 Quay 部署
      2. 12.1.2. 手动创建用户和 LDAP 身份验证
    2. 12.2. 设置 LDAP 配置
      1. 12.2.1. 完整 LDAP URI
      2. 12.2.2. 团队同步
      3. 12.2.3. 基本和依赖关系名称
      4. 12.2.4. 其他用户过滤器
        1. 12.2.4.1. 启用 LDAP_RESTRICTED_USER_FILTER 配置字段
      5. 12.2.5. 管理员 DN
      6. 12.2.6. UID 和 Mail 属性
      7. 12.2.7. 验证
    3. 12.3. 常见问题
    4. 12.4. 将 LDAP 用户配置为超级用户
    5. 12.5. 启用 LDAP_SUPERUSER_FILTER 配置字段
  15. 13. Red Hat Quay 中的 Prometheus 和 Grafana 指标
    1. 13.1. 公开 Prometheus 端点
      1. 13.1.1. 独立 Red Hat Quay
      2. 13.1.2. Red Hat Quay Operator
      3. 13.1.3. 将 Prometheus 设置为消耗指标
      4. 13.1.4. Kubernetes 下的 DNS 配置
      5. 13.1.5. 手动集群的 DNS 配置
    2. 13.2. 指标简介
      1. 13.2.1. 常规 registry 统计
      2. 13.2.2. 队列项目
      3. 13.2.3. 垃圾收集指标
        1. 13.2.3.1. 多部分上传指标
      4. 13.2.4. 镜像拉取/拉取(pull)指标
        1. 13.2.4.1. 镜像拉取总计
        2. 13.2.4.2. 拉取的镜像字节数
        3. 13.2.4.3. 镜像推送总计
        4. 13.2.4.4. 推送的镜像字节数
      5. 13.2.5. 身份验证指标
  16. 14. Red Hat Quay 配额管理和强制
    1. 14.1. 配额管理配置
      1. 14.1.1. 默认配额
    2. 14.2. 配额管理架构
    3. 14.3. 在 Red Hat Quay UI 中建立配额
    4. 14.4. 使用 Red Hat Quay API 建立配额
      1. 14.4.1. 设置配额
      2. 14.4.2. 查看配额
      3. 14.4.3. 修改配额
      4. 14.4.4. 推送镜像
        1. 14.4.4.1. 推送 ubuntu:18.04
        2. 14.4.4.2. 使用 API 查看配额使用量
        3. 14.4.4.3. 推送另一个镜像
      5. 14.4.5. 使用配额限制拒绝推送
        1. 14.4.5.1. 设置 reject 和 warning 限制
        2. 14.4.5.2. 查看拒绝和警告限制
        3. 14.4.5.3. 超过 reject 限值时推送镜像
        4. 14.4.5.4. 超过限制的通知
    5. 14.5. 配额管理限制
  17. 15. geo-replication
    1. 15.1. 异地复制功能
    2. 15.2. 异地复制要求和限制
    3. 15.3. 使用独立 Red Hat Quay 进行异地复制
      1. 15.3.1. 启用存储复制 - 独立 Quay
      2. 15.3.2. 使用存储首选项运行 Red Hat Quay
    4. 15.4. 使用 Red Hat Quay Operator 进行异地复制
      1. 15.4.1. 在 Openshift 中设置异地复制
        1. 15.4.1.1. 配置
      2. 15.4.2. 跨地域复制的混合存储
  18. 16. 备份和恢复由 Red Hat Quay Operator 管理的 Red Hat Quay Operator
    1. 16.1. 备份 Red Hat Quay
      1. 16.1.1. Red Hat Quay 配置备份
      2. 16.1.2. 缩减 Red Hat Quay 部署
      3. 16.1.3. Red Hat Quay 管理的数据库备份
        1. 16.1.3.1. Red Hat Quay 受管对象存储备份
      4. 16.1.4. 扩展 Red Hat Quay 部署
    2. 16.2. 恢复 Red Hat Quay
      1. 16.2.1. 从备份中恢复 Red Hat Quay 及其配置
      2. 16.2.2. 缩减 Red Hat Quay 部署
      3. 16.2.3. 恢复 Red Hat Quay 数据库
      4. 16.2.4. 恢复 Red Hat Quay 对象存储数据
      5. 16.2.5. 扩展 Red Hat Quay 部署
  19. 17. 将独立 Quay 部署迁移到 Red Hat Quay Operator 管理的部署
    1. 17.1. 备份 Red Hat Quay 的独立部署
    2. 17.2. 使用备份的独立内容迁移到 OpenShift Container Platform。
  20. 18. 在独立部署上备份和恢复 Red Hat Quay
    1. 18.1. 在独立部署上备份 Red Hat Quay
    2. 18.2. 在独立部署中恢复 Red Hat Quay
  21. 19. Red Hat Quay 垃圾回收
    1. 19.1. 关于 Red Hat Quay 垃圾回收
    2. 19.2. Red Hat Quay 垃圾收集实践
      1. 19.2.1. 测量存储回收
    3. 19.3. 垃圾回收配置字段
    4. 19.4. 禁用垃圾回收
    5. 19.5. 垃圾回收和配额管理
    6. 19.6. 实践中的垃圾回收
    7. 19.7. Red Hat Quay 垃圾回收指标
  22. 20. Red Hat Quay 故障排除
  23. 21. Red Hat Quay 配置的架构

第 20 章 Red Hat Quay 故障排除

常见故障模式和恢复最佳实践。

  • 我收到 HTTP 状态代码 429
  • 我经过授权,但我仍然会得到 403s
  • Dockerfile 中的基础镜像 pull 失败并显示 403
  • 无法添加构建触发器
  • 构建日志不会被加载
  • 我收到 "Cannot locate specified Dockerfile" * Could not access any registry 端点
  • 无法使用 EC2 Container Service 访问私有存储库
  • Docker 正在返回 i/o 超时
  • Docker 登录失败并显示奇错误
  • 拉取失败并显示奇错误
  • 我刚刚推送,但时间戳错误
  • 使用 Marathon/Mesos 拉取私有 Quay.io 镜像会失败
  1. Previous
  2. Next
Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2023 Red Hat, Inc.
  • Privacy Statement
  • Customer Portal Terms of Use
  • All Policies and Guidelines
Red Hat Summit
Twitter