Skip to main content

Type

docker

Variants

Containers Only, Full Control
Purpose: The Docker skill enables agents to interact with Docker daemon to manage containers, images, volumes, and networks programmatically.

Common Use Cases

Container lifecycle managementStart, stop, restart, and monitor Docker containers

Image building and deploymentBuild container images and push to registries

Volume and network operationsManage persistent storage and container networking

Container health monitoringCheck container status, logs, and resource usage

Variants Overview

Choosing a variant: Use Containers Only for production environments. Only upgrade to Full Control when image building or infrastructure management is required. See Variant Configuration for detailed differences.

Configuration

Example Configuration:
Containers Only:
  • allowed_operations: [“start”, “stop”, “restart”, “logs”, “inspect”, “ps”, “stats”]
  • network_access: false (locked)
  • volume_management: false (locked)
Full Control:
  • allowed_operations: [”*”] (all operations)
  • network_access: true
  • volume_management: true
  • Higher default limits
See: Variant Configuration Guide

Quick Start

View Complete Examples

See full CI/CD pipeline configurations, Docker Compose integration, and troubleshooting guides

Docker Operations

Container Management

Image Operations (Full Control Only)

Volume & Network (Full Control Only)


Security Best Practices

In production, restrict to container lifecycle operations only.
Docker socket provides root-equivalent access. Use proper permissions and consider socket proxies.
Define default memory and CPU limits to prevent resource exhaustion.
Requirements: Docker daemon must be installed and running on the worker. Worker user needs access to the Docker socket (typically by being in the docker group).

Docker Compose Integration

Agents can work with Docker Compose for multi-container applications:
With Full Control variant:

Solutions:
  • Verify Docker daemon is running: systemctl status docker
  • Add worker user to docker group: sudo usermod -aG docker worker-user
  • Check Docker socket permissions: ls -la /var/run/docker.sock
Solutions:
  • Ensure worker user is in docker group
  • Verify Docker socket permissions
  • Review allowed_operations in configuration
Solutions:
  • Verify network connectivity from worker
  • Check registry authentication credentials
  • Ensure network_access: true in configuration

Shell Skill

Execute docker CLI commands via shell

File System Skill

Access Dockerfiles and configurations

Workflow Executor

Orchestrate multi-step Docker operations

View All Skills

Return to built-in skills overview