home / skills / bobmatnyc / claude-mpm-skills / digitalocean-containers-images

This skill helps you manage DigitalOcean containers and images, including registries and snapshots, to streamline building, storing, and deploying Droplets.

npx playbooks add skill bobmatnyc/claude-mpm-skills --skill digitalocean-containers-images

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
3.0 KB
---
name: digitalocean-containers-images
description: DigitalOcean containers and images including Container Registry, preconfigured images, and custom images. Use when building, storing, or deploying container images or Droplet images on DigitalOcean.
progressive_disclosure:
  entry_point:
    summary: "DigitalOcean containers and images including Container Registry, preconfigured images, and custom images. Use when building, storing, or deploying container images or Droplet images on DigitalOcean."
    when_to_use: "When working with version control, branches, or pull requests."
    quick_start: "1. Review the core concepts below. 2. Apply patterns to your use case. 3. Follow best practices for implementation."
---
# DigitalOcean Containers and Images 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
---

## Overview

DigitalOcean provides a private Container Registry plus tools for managing Droplet images and snapshots.

## 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.

## 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.

## 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.

## 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.

## 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.*

## Resources

**DigitalOcean Docs**:
- Containers and Images: https://docs.digitalocean.com/products/images/
- Container Registry: https://docs.digitalocean.com/products/container-registry/
- Custom Images: https://docs.digitalocean.com/products/custom-images/
- Snapshots: https://docs.digitalocean.com/products/snapshots/
- Backups: https://docs.digitalocean.com/products/backups/

Overview

This skill manages DigitalOcean container registries, preconfigured Droplet images, custom images, and image lifecycle operations. It helps you create registries, push and pull images, select base images, and manage snapshots and custom uploads. Use it to standardize image workflows and streamline deployments on DigitalOcean.

How this skill works

The skill inspects and orchestrates three core areas: Container Registry for private image storage, Droplet images (official and marketplace) for fast provisioning, and custom images/snapshots for reproducible system states. It automates registry creation, authentication steps for CI/CD systems, image selection during Droplet creation, and snapshot-based versioning and rollback. It also validates common DigitalOcean image requirements to reduce upload and boot failures.

When to use it

  • When you need a private Container Registry to store and share images securely
  • When provisioning Droplets from official or marketplace images for rapid setup
  • When creating and reusing custom images with preinstalled stacks
  • When you want versioned system states using snapshots for rollback
  • When integrating CI/CD to push images and deploy to App Platform or Kubernetes

Best practices

  • Standardize on a small set of vetted base images to reduce variability
  • Automate registry authentication in CI/CD with short-lived tokens or credentials
  • Use snapshots to capture known-good Droplet states before major changes
  • Tag container images and snapshots with semantic versioning for easy rollback
  • Keep the registry and compute resources in the same region to minimize latency and egress costs

Example use cases

  • Create a private Container Registry, CI pipeline pushes image, App Platform pulls for production deploys
  • Spin up a Droplet from a marketplace image, configure services, snapshot it as a reusable custom image
  • Upload a custom image containing a preconfigured application stack and use it to scale identical Droplets
  • Use snapshots to capture a database node before schema migrations so you can rollback on failure
  • Store build artifacts and images together and tag releases to link source commits, images, and snapshots

FAQ

Can I use this skill without other DigitalOcean skills?

Yes. The skill is functional on its own and covers registries, images, custom uploads, and snapshots.

How do I roll back to a previous Droplet state?

Create and keep snapshots before changes. To roll back, provision a new Droplet from the desired snapshot or replace volumes with a snapshot-based image.