Docker Cli
Execute Docker CLI commands to build, manage, and deploy containerized applications directly from within your cloud environment.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add docker-cli npx -- -y @trustedskills/docker-cli
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"docker-cli": {
"command": "npx",
"args": [
"-y",
"@trustedskills/docker-cli"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The docker-cli skill allows an AI agent to interact with Docker containers using the command line interface. It can execute commands like pulling images, running containers, stopping containers, and viewing container logs. This enables automated management of containerized applications and environments.
When to use it
- Automated deployments: Deploy new versions of applications by pulling updated Docker images and starting new containers.
- Troubleshooting: Examine the status and logs of running containers to diagnose issues.
- Environment setup: Quickly create and manage development or testing environments using Docker containers.
- Container cleanup: Remove unused containers and images to free up resources.
Key capabilities
docker pull: Downloads Docker images from a registry.docker run: Creates and starts containers.docker stop: Stops running containers.docker logs: Displays the output of a container's standard output stream.
Example prompts
- "Pull the latest version of the nginx image."
- "Run a container named 'my-app' from the 'my-image:latest' image."
- "Stop the container named 'webserver'."
- "Show me the logs for the container called 'database'."
Tips & gotchas
The agent needs access to a Docker environment and appropriate permissions to execute commands. Ensure the agent has the necessary credentials or is running within a context where it can interact with the Docker daemon.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.