discover-containers

Automate discovery and activation of container skill sets for Docker development.

126|7|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/rand/cc-experiments --skill discover-containers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discover-containers
Source: https://github.com/rand/cc-experiments/tree/main/skills/discover-containers
Command: npx skills add https://github.com/rand/cc-experiments --skill discover-containers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Docker, Kubernetes, and containerized applications can be complex, involving networking, security, and registry management. This skill provides instant access to expertise on Dockerfile optimization, Docker Compose, container networking, security, and registry management, streamlining your containerization efforts.

Core Features & Use Cases

  • Containerization Mastery: Covers Dockerfile optimization, Docker Compose for development, container networking, container security, and container registry management.
  • Intelligent Activation: Automatically loads when you're engaged in container development tasks, providing context-aware guidance.
  • Use Case: When optimizing a Docker image for production, this skill can guide you through Dockerfile best practices to reduce image size and improve build times.

Quick Start

Help me optimize my Dockerfile for a Python application to reduce image size.

Frequently Asked Questions about discover-containers

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

FAQPage Schema
How do I optimize a Dockerfile to reduce image size and build time?

Optimize Dockerfiles by using multi-stage builds, minimal base images, and layer caching. Remove unnecessary dependencies, consolidate RUN commands, and order instructions from least to most frequently changed to maximize cache hits and minimize final image size.

What's the best way to set up networking between Docker containers?

Docker container networking connects services via user-defined networks, bridge networks, or overlay networks for Kubernetes. Define services in docker-compose or Kubernetes manifests to enable automatic DNS resolution and isolated communication between containers.

How do I secure containers in production deployments?

Container security involves scanning images for vulnerabilities, running containers with minimal privileges, enforcing network policies, and managing secrets securely. Apply security contexts, use private registries, and implement runtime monitoring to harden containerized applications.

Can I use Docker Compose for both development and production?

Docker Compose is designed for development and testing workflows with simplified multi-container orchestration. For production, use Kubernetes or container orchestration platforms that provide scaling, high availability, and advanced networking capabilities beyond Compose's scope.

How do I manage container images in a registry?

Container registry management involves pushing, pulling, and versioning images in repositories. Tag images clearly, implement access controls, scan for vulnerabilities, and automate cleanup of unused images to maintain registry efficiency and security.

When should I use Kubernetes instead of Docker alone?

Use Kubernetes for production workloads requiring orchestration, auto-scaling, self-healing, and multi-node deployments. Docker alone suits single-host development; Kubernetes handles complex container lifecycle management, networking, and resource scheduling at scale.