image-management

Manage Docker image lifecycle operations including build, tag, push, pull, and remove.

50|13|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/chaterm/terminal-skills --skill image-management-chaterm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-management
Source: https://github.com/chaterm/terminal-skills/tree/main/docker/image-management
Command: npx skills add https://github.com/chaterm/terminal-skills --skill image-management-chaterm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies and streamlines the management of Docker images, from building and optimizing to pushing and pulling from registries.

Core Features & Use Cases

  • Image Lifecycle Management: Build, tag, push, pull, and remove Docker images efficiently.
  • Optimization Techniques: Learn to reduce image size and improve build times using multi-stage builds and caching.
  • Registry Interaction: Manage images in both public and private Docker registries.
  • Use Case: You need to build a Docker image for your new application, optimize it for size, and push it to a private registry for deployment.

Quick Start

Use the image-management skill to build a Docker image named 'my-app' from the current directory's Dockerfile.

Frequently Asked Questions about image-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Docker image size and reduce build times?

Optimize Docker images by applying multi-stage builds and cache utilization strategies to reduce image size and improve build times by isolating build dependencies from the runtime environment.

What is the best way to manage the Docker image lifecycle from build to registry?

The best way to manage the Docker image lifecycle is to sequentially build, tag, push, pull, and remove images. This workflow ensures efficient image management from creation to deployment in both public and private registries.

How do I push a Docker image to a private registry?

Push Docker images to private registries by tagging the image with the registry URL and executing the push command. This Skill handles interaction with both public and private Docker registries for deployment.

Do I need Docker CLI and Dockerfile syntax knowledge to manage Docker images?

Yes, managing Docker images requires the Docker CLI and an understanding of Dockerfile syntax. These prerequisites enable efficient image lifecycle management and optimization strategy execution.

When should I use multi-stage builds for Docker containers?

Use multi-stage builds when you need to reduce Docker image size and improve build times. This optimization technique separates the build environment from the final runtime image, discarding unnecessary build dependencies.