digitalocean-containers-images

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

DigitalOcean Containers and Images Skill

DigitalOcean 容器与镜像 Skill


progressive_disclosure: entry_point: summary: "Containers and images on DigitalOcean: Container Registry, preconfigured images, custom images, and image lifecycle management." when_to_use: - "When storing or deploying container images" - "When using custom Droplet images" - "When managing image lifecycle with snapshots" quick_start: - "Create a Container Registry" - "Push images and configure pulls" - "Select base images or upload custom images" - "Use snapshots for versioned images" token_estimate: entry: 90-110 full: 3500-4600


progressive_disclosure: entry_point: summary: "DigitalOcean上的容器与镜像:Container Registry、预配置镜像、自定义镜像以及镜像生命周期管理。" when_to_use: - "需要存储或部署容器镜像时" - "使用自定义Droplet镜像时" - "通过快照管理镜像生命周期时" quick_start: - "创建Container Registry" - "推送镜像并配置拉取权限" - "选择基础镜像或上传自定义镜像" - "使用快照管理带版本的镜像" token_estimate: entry: 90-110 full: 3500-4600

Overview

概述

DigitalOcean provides a private Container Registry plus tools for managing Droplet images and snapshots.
DigitalOcean 提供私有 Container Registry,以及用于管理 Droplet 镜像和快照的工具。

Container Registry

Container Registry

Use Container Registry to store private container images.
  • Create a registry in the target region.
  • Authenticate build systems to push images.
  • Configure App Platform or Kubernetes to pull from the registry.
使用 Container Registry 存储私有容器镜像。
  • 在目标区域创建镜像仓库。
  • 对构建系统进行身份验证以推送镜像。
  • 配置 App Platform 或 Kubernetes 从该镜像仓库拉取镜像。

Containers and Images

容器与镜像

Use preconfigured images to create Droplets quickly.
  • Select official or marketplace images when creating Droplets.
  • Use snapshots to capture a configured Droplet as a reusable image.
使用预配置镜像快速创建 Droplet。
  • 创建 Droplet 时选择官方或市场镜像。
  • 使用快照将已配置完成的 Droplet 捕获为可复用镜像。

Custom Images

自定义镜像

Use custom images to boot Droplets with preinstalled stacks.
  • Upload a custom image that meets DigitalOcean requirements.
  • Use the custom image as the base for new Droplets.
使用自定义镜像为 Droplet 启动预装的技术栈。
  • 上传符合 DigitalOcean 要求的自定义镜像。
  • 将自定义镜像用作新 Droplet 的基础镜像。

Image Lifecycle Practices

镜像生命周期最佳实践

  • Standardize base images for consistency.
  • Use snapshots to version and roll back Droplet states.
  • Store container images in the registry alongside source commits.
  • 标准化基础镜像以保证一致性。
  • 使用快照对 Droplet 状态进行版本管理和回滚。
  • 将容器镜像与代码提交一同存储在镜像仓库中。

Complementary Skills

相关技能

When using this skill, consider these related skills (if deployed):
  • digitalocean-compute: Droplets, App Platform, and Kubernetes compute selection.
  • digitalocean-storage: Snapshots and backups.
  • docker: Container build and runtime patterns.
Note: Complementary skills are optional. This skill is fully functional without them.
使用本技能时,可考虑以下相关技能(若已部署):
  • digitalocean-compute:Droplet、App Platform 及 Kubernetes 计算资源选型。
  • digitalocean-storage:快照与备份。
  • docker:容器构建与运行时模式。
注:相关技能为可选,没有这些技能本技能也可完全正常使用。

Resources

资源