OpenHands

docker

45
7
# Install this skill:
npx skills add OpenHands/skills --skill "docker"

Install specific skill from multi-skill repository

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

# SKILL.md


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:

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

# Wait for Docker to initialize
sleep 5

Verifying Docker Installation

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

sudo docker run hello-world

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.