Jump To Close Expand all Collapse all Table of contents 使用 Red Hat Quay 前言 1. 用户和机构 Expand section "1. 用户和机构" Collapse section "1. 用户和机构" 1.1. 租期模型 1.2. 创建用户帐户 1.3. 从命令行删除 Red Hat Quay 用户 1.4. 创建机构帐户 2. 创建软件仓库 Expand section "2. 创建软件仓库" Collapse section "2. 创建软件仓库" 2.1. 使用 UI 创建镜像存储库 2.2. 使用 CLI 创建镜像存储库 3. 管理对软件仓库的访问 Expand section "3. 管理对软件仓库的访问" Collapse section "3. 管理对软件仓库的访问" 3.1. 允许访问用户仓库 Expand section "3.1. 允许访问用户仓库" Collapse section "3.1. 允许访问用户仓库" 3.1.1. 允许用户访问用户存储库 3.1.2. 允许访问用户存储库的机器机器 3.2. 机构软件仓库 Expand section "3.2. 机构软件仓库" Collapse section "3.2. 机构软件仓库" 3.2.1. 创建机构 Expand section "3.2.1. 创建机构" Collapse section "3.2.1. 创建机构" 3.2.1.1. 使用 API 创建另一个机构 3.2.2. 将团队添加到机构 3.2.3. 设置团队角色 3.2.4. 将用户添加到团队 3.3. 禁用机器人帐户 4. 使用标签 Expand section "4. 使用标签" Collapse section "4. 使用标签" 4.1. 查看和修改标签 Expand section "4.1. 查看和修改标签" Collapse section "4.1. 查看和修改标签" 4.1.1. 向镜像添加新镜像标签 4.1.2. 移动镜像标签 4.1.3. 删除镜像标签 Expand section "4.1.3. 删除镜像标签" Collapse section "4.1.3. 删除镜像标签" 4.1.3.1. 查看标签历史记录 4.1.3.2. 恢复标签更改 4.1.4. 通过标签或摘要获取镜像 4.2. 标签过期 Expand section "4.2. 标签过期" Collapse section "4.2. 标签过期" 4.2.1. 从 Dockerfile 设置标签过期 4.2.2. 从仓库设置标签过期 4.3. 查看 Clair 安全扫描 5. 查看和导出日志 Expand section "5. 查看和导出日志" Collapse section "5. 查看和导出日志" 5.1. 使用 UI 查看日志 5.2. 导出存储库日志 6. 使用构建 worker 自动构建 Dockerfile Expand section "6. 使用构建 worker 自动构建 Dockerfile" Collapse section "6. 使用构建 worker 自动构建 Dockerfile" 6.1. 使用 OpenShift Container Platform 设置 Red Hat Quay Builder Expand section "6.1. 使用 OpenShift Container Platform 设置 Red Hat Quay Builder" Collapse section "6.1. 使用 OpenShift Container Platform 设置 Red Hat Quay Builder" 6.1.1. 配置 OpenShift Container Platform TLS 组件 6.1.2. 为 Red Hat Quay Builder 准备 OpenShift Container Platform 6.1.3. 配置 Red Hat Quay Builders 6.2. OpenShift Container Platform 路由 限制 6.3. 构建故障排除 Expand section "6.3. 构建故障排除" Collapse section "6.3. 构建故障排除" 6.3.1. DEBUG 配置标志 6.3.2. OpenShift Container Platform 和 Kubernetes 构建故障排除 6.4. 设置 Github 构建 7. 构建容器镜像 Expand section "7. 构建容器镜像" Collapse section "7. 构建容器镜像" 7.1. 构建上下文 7.2. 构建触发器的标签命名 7.3. 跳过源控制触发的构建 7.4. 查看和管理构建 7.5. 创建新构建 7.6. 构建触发器 Expand section "7.6. 构建触发器" Collapse section "7.6. 构建触发器" 7.6.1. 创建构建触发器 7.6.2. 手动触发构建 7.7. 设置自定义 Git 触发器 Expand section "7.7. 设置自定义 Git 触发器" Collapse section "7.7. 设置自定义 Git 触发器" 7.7.1. 创建触发器 7.7.2. 自定义触发器创建设置 Expand section "7.7.2. 自定义触发器创建设置" Collapse section "7.7.2. 自定义触发器创建设置" 7.7.2.1. SSH 公钥访问 7.7.2.2. Webhook 8. 在 GitHub 中创建 OAuth 应用程序 Expand section "8. 在 GitHub 中创建 OAuth 应用程序" Collapse section "8. 在 GitHub 中创建 OAuth 应用程序" 8.1. 创建新的 GitHub 应用程序 9. 存储库通知 Expand section "9. 存储库通知" Collapse section "9. 存储库通知" 9.1. 创建通知 9.2. 仓库事件描述 Expand section "9.2. 仓库事件描述" Collapse section "9.2. 仓库事件描述" 9.2.1. repository Push 9.2.2. Dockerfile 构建队列 9.2.3. Dockerfile 构建已启动 9.2.4. Dockerfile 构建成功完成 9.2.5. Dockerfile 构建失败 9.2.6. Dockerfile 构建已取消 9.2.7. 检测到漏洞 9.3. 通知操作 Expand section "9.3. 通知操作" Collapse section "9.3. 通知操作" 9.3.1. 添加了通知 9.3.2. 电子邮件通知 9.3.3. Webhook POST 通知 9.3.4. Flowdock 通知 9.3.5. HipChat 通知 9.3.6. Slack 通知 10. 开放容器项目支持 Expand section "10. 开放容器项目支持" Collapse section "10. 开放容器项目支持" 10.1. Helm 和 OCI 的先决条件 Expand section "10.1. Helm 和 OCI 的先决条件" Collapse section "10.1. Helm 和 OCI 的先决条件" 10.1.1. 安装 Helm 10.1.2. 升级到 Helm 3.8 10.1.3. 启用您的系统信任 Red Hat Quay 使用的 SSL/TLS 证书 10.2. 使用 Helm chart 10.3. Cosign OCI 支持 10.4. 安装和使用 Cosign 10.5. 使用其他工件类型 10.6. 在 Red Hat Quay 中禁用 OCI 工件 11. Red Hat Quay 配额管理和强制概述 Expand section "11. Red Hat Quay 配额管理和强制概述" Collapse section "11. Red Hat Quay 配额管理和强制概述" 11.1. 配额管理架构 11.2. 配额管理限制 11.3. 配额管理配置字段 Expand section "11.3. 配额管理配置字段" Collapse section "11.3. 配额管理配置字段" 11.3.1. 配额管理配置示例 11.4. 使用 Red Hat Quay API 建立配额 Expand section "11.4. 使用 Red Hat Quay API 建立配额" Collapse section "11.4. 使用 Red Hat Quay API 建立配额" 11.4.1. 设置配额 11.4.2. 查看配额 11.4.3. 修改配额 11.4.4. 推送镜像 Expand section "11.4.4. 推送镜像" Collapse section "11.4.4. 推送镜像" 11.4.4.1. 推送 ubuntu:18.04 11.4.4.2. 使用 API 查看配额使用量 11.4.4.3. 推送另一个镜像 11.4.5. 使用配额限制拒绝推送 Expand section "11.4.5. 使用配额限制拒绝推送" Collapse section "11.4.5. 使用配额限制拒绝推送" 11.4.5.1. 设置 reject 和 warning 限制 11.4.5.2. 查看拒绝和警告限制 11.4.5.3. 超过 reject 限值时推送镜像 11.4.5.4. 超过限制的通知 12. Red Hat Quay 作为上游 registry 的代理缓存 Expand section "12. Red Hat Quay 作为上游 registry 的代理缓存" Collapse section "12. Red Hat Quay 作为上游 registry 的代理缓存" 12.1. 代理缓存架构 12.2. 代理缓存限制 12.3. 使用 Red Hat Quay 代理远程 registry Expand section "12.3. 使用 Red Hat Quay 代理远程 registry" Collapse section "12.3. 使用 Red Hat Quay 代理远程 registry" 12.3.1. 在代理机构中利用存储配额限制 Expand section "12.3.1. 在代理机构中利用存储配额限制" Collapse section "12.3.1. 在代理机构中利用存储配额限制" 12.3.1.1. 在代理机构中测试存储配额限制功能 13. Red Hat Quay 构建增强 Expand section "13. Red Hat Quay 构建增强" Collapse section "13. Red Hat Quay 构建增强" 13.1. Red Hat Quay 增强的构建架构 13.2. Red Hat Quay 构建限制 13.3. 使用 OpenShift Container Platform 创建 Red Hat Quay 构建程序环境 Expand section "13.3. 使用 OpenShift Container Platform 创建 Red Hat Quay 构建程序环境" Collapse section "13.3. 使用 OpenShift Container Platform 创建 Red Hat Quay 构建程序环境" 13.3.1. OpenShift Container Platform TLS 组件 13.3.2. 使用 OpenShift Container Platform 进行 Red Hat Quay 构建器 Expand section "13.3.2. 使用 OpenShift Container Platform 进行 Red Hat Quay 构建器" Collapse section "13.3.2. 使用 OpenShift Container Platform 进行 Red Hat Quay 构建器" 13.3.2.1. 为虚拟构建器准备 OpenShift Container Platform 13.3.2.2. 手动添加 SSL/TLS 证书 Expand section "13.3.2.2. 手动添加 SSL/TLS 证书" Collapse section "13.3.2.2. 手动添加 SSL/TLS 证书" 13.3.2.2.1. 创建和签名证书 13.3.2.2.2. 将 TLS 设置为非受管 13.3.2.2.3. 创建临时 secret 13.3.2.2.4. 将 secret 数据复制到配置 YAML 中 13.3.2.3. 使用 UI 创建构建触发器 13.3.2.4. 修改 AWS S3 存储桶 13.3.2.5. 修改 Google Cloud Platform 对象存储桶 14. 使用 v2 UI Expand section "14. 使用 v2 UI" Collapse section "14. 使用 v2 UI" 14.1. v2 用户界面配置 Expand section "14.1. v2 用户界面配置" Collapse section "14.1. v2 用户界面配置" 14.1.1. 使用 v2 UI 创建新机构 14.1.2. 使用 v2 UI 删除机构 14.1.3. 使用 v2 UI 创建新存储库 14.1.4. 使用 v2 UI 删除存储库 14.1.5. 将镜像推送到 v2 UI 14.1.6. 使用 v2 UI 删除镜像 14.1.7. 使用 Red Hat Quay v2 UI 创建新团队 14.1.8. 使用 v2 UI 创建机器人帐户 Expand section "14.1.8. 使用 v2 UI 创建机器人帐户" Collapse section "14.1.8. 使用 v2 UI 创建机器人帐户" 14.1.8.1. 使用 Red Hat Quay v2 UI 批量管理机器人帐户存储库访问权限 14.1.9. 使用 Red Hat Quay v2 UI 创建默认权限 14.1.10. v2 UI 的组织设置 14.1.11. 使用 v2 UI 查看镜像标签信息 14.1.12. 使用 v2 UI 调整存储库设置 14.2. 查看 Red Hat Quay 标签历史记录 14.3. 在 Red Hat Quay v2 UI 中添加和管理标签 14.4. 在 Red Hat Quay v2 UI 中设置标签过期 14.5. 启用旧的 UI 15. 使用 Red Hat Quay API Expand section "15. 使用 Red Hat Quay API" Collapse section "15. 使用 Red Hat Quay API" 15.1. 从 Quay.io 访问 Quay API 15.2. 创建 OAuth 访问令牌 15.3. 从网页浏览器访问 Quay API 15.4. 从命令行访问 Red Hat Quay API Expand section "15.4. 从命令行访问 Red Hat Quay API" Collapse section "15.4. 从命令行访问 Red Hat Quay API" 15.4.1. 获取超级用户信息 15.4.2. 使用 API 创建超级用户 15.4.3. 列出用量日志 Expand section "15.4.3. 列出用量日志" Collapse section "15.4.3. 列出用量日志" 15.4.3.1. 分页示例 15.4.4. 目录同步 15.4.5. 通过 API 创建存储库构建 15.4.6. 创建机构机器人 15.4.7. 触发构建 15.4.8. 创建私有存储库 15.4.9. 创建已镜像的存储库 法律通告 Settings Close Language: 日本語 简体中文 English Language: 日本語 简体中文 English Format: Multi-page Single-page Format: Multi-page Single-page Language and Page Formatting Options Language: 日本語 简体中文 English Language: 日本語 简体中文 English Format: Multi-page Single-page Format: Multi-page Single-page 1.4. 创建机构帐户 任何用户都可以创建自己的组织,以共享容器镜像的存储库。要创建新机构,请执行以下操作: 以任何用户身份登录时,从主页右上角选择加号(+),然后选择 New Organization。 键入机构的名称。名称必须是字母数字,所有小写,以及 2 到 255 个字符的长度 选择 Create Organization。新组织会出现,可以从左列中的图标开始添加存储库、团队、机器人帐户和其他功能。下图显示了使用选择设置选项卡的新组织的页面示例。 Previous Next