Skip to main content
skill CX Codex

docker · openhands — Claude Code skill: what it does, how to install

Starts the Docker daemon and runs Docker commands inside the agent's container. Use it to build images, start containers and manage them from Claude Code, Cursor or Codex.

MIT 126 installs ★ 185 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add OpenHands/extensions --skill docker -a claude-code
Open on GitHub

What docker does

The skill starts dockerd in the background with sudo dockerd > /tmp/docker.log 2>&1 &, waits five seconds for init, then lets the agent run Docker as usual: build images, spin up containers, check status. On Windows you need Docker Desktop running instead of sudo dockerd; commands execute from PowerShell without sudo.

After install the skill checks whether Docker is present and suggests running sudo docker run hello-world to verify. If Docker was already installed and running, the skill simply gives the agent docker and container triggers so it knows what's available.

If the agent runs in an isolated environment without dockerd privileges, containers will not start.

What it helps with

  • start Docker daemon inside the agent container
  • build an image from a Dockerfile
  • bring up a compose stack for dev
  • check status of running containers
  • stop and remove containers after testing

Example prompts for the agent

  • Start Docker and build the image from ./Dockerfile
  • Bring up docker-compose.yml in detached mode and show logs
  • Stop all containers and prune unused images

How to install docker

1Skills CLI (Vercel)

npx skills add OpenHands/extensions --skill docker -a claude-code

2Manually: put the files in place

~/.claude/skills/docker/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/docker/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about docker

How to install docker in Claude Code?

Run npx skills add OpenHands/extensions --skill docker -a claude-code; the skill will land in ~/.claude/skills/docker/SKILL.md.

What does the docker skill do?

It starts the Docker daemon inside the agent's container and lets you run docker commands to build images, start containers and manage them.

Does the skill require Docker installed?

Yes. The skill checks whether Docker is present and starts dockerd, but Docker itself must be installed beforehand.

Source text

SKILL.md · MIT
---
name: docker
description: Run Docker commands within a container environment, including starting the Docker daemon and managing containers. Use when building, running, or managing Docker containers and images.
triggers:
- docker
- container
---

# Docker Usage Guide

## Starting Docker in Container Environments

Please check if docker is already installed. If so, to start Docker in a container environment:

```bash
# Start Docker daemon in the background
sudo dockerd > /tmp/docker.log 2>&1 &

# Wait for Docker to initialize
sleep 5
```

On Windows, start Docker Desktop or the Docker service instead of running `sudo dockerd`; then run Docker commands from PowerShell without `sudo`.

## Verifying Docker Installation

To verify Docker is working correctly, run the hello-world container:

```bash
sudo docker run hello-world
```

PowerShell equivalent after Docker Desktop is running: `docker run hello-world`.

© OpenHands · MIT · OpenHands/extensions

Similar skills

All skills for DevOps and infrastructure →

docker by other authors comes first.

docker codewithmukesh Configures Docker containerization for .NET 10 apps with multi-stage builds, non-root user setup, and orchestrator-level health probes. CX Codex +1 4,000installs docker Mindrally Establishes best practices for lean Docker images, multi-stage builds, container security, and Compose workflows. CX Codex +1 1,200installs docker bobmatnyc docker is a Claude Code skill for packaging applications and dependencies into Docker containers. It covers Dockerfiles, image builds, and multi-service setups with Compose. CX Codex +1 1,100installs docker oakoss Skill for building Docker images, configuring Compose stacks, and preparing containers for production. CX Codex +1 145installs docker ulpi-io Guides your agent to write container setups with multi-stage builds, non-root users, pinned image tags, and strict .dockerignore hygiene. CX Codex +1 122installs docker-expert sickn33 Turns the agent into a Docker expert. It kicks in when a Dockerfile needs rework, a Compose setup fails, or a container behaves oddly. CX Codex +1 27,500installs docker-development Alireza Rezvani docker-development optimizes Dockerfiles, configures multi-stage builds, and hardens container security. Useful when setting up docker-compose orchestration or CI/CD delivery pipelines. ★ 30,251repo stars docker-best-practices JosiahSiegel docker-best-practices — a Docker skill that guides your agent through Dockerfiles, base image choice and production container setup. CX Codex +1 951installs holoscan-install-container Holoscan Team holoscan-install-container is a Claude Code skill that installs and verifies the Holoscan SDK 5.x development container. It checks the release and host compatibility first. CX Codex +1 1,800installs service Railway Check Railway service and deployment status, edit service details, change the linked service, or create one from a Docker image. CX Codex +1 80installs devops-stinger Legion Code Inc. The devops-stinger skill helps create and audit Docker builds and GitHub Actions workflows. Use it for Compose setup, CI security, caching, image scans, or Depot migration. CX Codex +1 ★ 96repo stars

From the same set6

Project sponsors

Companies that keep this analytics open