ClawExplorer logo

ClawExplorer

OpenClaw skill

docker-essentials

An OpenClaw skill that provides agents with tools to manage Docker containers, images, volumes, and networks. It includes commands such as docker ps, docker images, docker run, docker volume ls, and docker network ls. The skill enables essential Docker operations directly within agent workflows.

Files

Review the files below to add this skill to your agents.

SKILL.md content

Unable to load SKILL.md content from source.

How this skill works

  • The skill accepts natural language tasks describing Docker operations
  • It classifies the task into one of five actions: pull, run, ps, stop, or rm
  • It extracts required parameters such as image name, container name, and options from the task
  • It constructs and executes the corresponding Docker CLI command
  • It captures the command's stdout, stderr, and exit code
  • It returns a JSON object containing success status, message, and output

When to use it

  • When listing running or all Docker containers
  • When listing available Docker images
  • When pulling a Docker image from a registry
  • When building a Docker image from a Dockerfile
  • When running a new Docker container from an image
  • When stopping a running Docker container
  • When removing a stopped Docker container
  • When executing a command inside a running Docker container
  • When listing Docker volumes
  • When creating a Docker volume

Best practices

  • Install Docker and ensure the daemon is running before using the skill
  • Verify Docker CLI is accessible from the PATH
  • Use `docker_stop` before `docker_rm` for graceful container shutdown
  • Check for port conflicts before using `docker_run` with port mappings

Example use cases

  • Pulling a Docker image: Pulls the nginx Docker image using docker_pull('nginx').
  • Running an Nginx container: Runs an nginx container with port mapping using docker_run('nginx', ports='80:80').
  • Listing running containers: Lists currently running Docker containers using docker_ps().
  • Stopping a container: Stops a specific Docker container by ID using docker_stop('abc123').
  • Viewing container logs: Retrieves logs from a specific Docker container using docker_logs('abc123').

FAQs

More similar skills to explore

  • achurch

    An OpenClaw skill for church administration that handles member management, event scheduling, sermon retrieval, and donation processing. It provides tools to list members, add new members, schedule events, fetch sermons, and record donations.

  • agent-config

    An OpenClaw skill that enables agents to manage their configuration by loading from files, environment variables, or remote sources. It supports retrieving, setting, and validating configuration values. The skill allows for hot-reloading of configurations.

  • agent-council

    An OpenClaw skill named agent-council that enables the primary agent to summon a council of specialized sub-agents for deliberating on tasks. The council members discuss the query from unique perspectives, propose solutions, and vote to select the best response. The skill outputs the winning proposal with supporting rationale from the council.

  • agent-identity-kit

    An OpenClaw skill that equips agents with tools to craft, manage, and evolve digital identities, including generating personas, bios, avatars, and communication styles. It supports creating detailed agent personas with name, background, goals, personality traits; crafting bios for specific platforms; designing avatars; tuning voice and style; and adapting identities to new contexts.

  • agenticflow-skill

    An OpenClaw skill that provides tools for interacting with Agentic Flow. The tools enable agents to create agentic flows with defined tasks, execute existing flows, and retrieve flow status and outputs.

  • agentlens

    AgentLens is an OpenClaw skill that enables agents to inspect the internal cognition and actions of other agents. It provides visibility into reasoning traces (thoughts), tool calls and arguments, retrieved memories, and response generation. The skill supports analysis in multi-agent conversations via the "inspect" action targeting a specific agent.