home / mcp / docker mcp server
Provides a comprehensive MCP server to manage Docker containers, images, networks, volumes, registries, and compose through natural language.
Configuration
View docs{
"mcpServers": {
"alisaitteke-docker-mcp": {
"command": "npx",
"args": [
"@alisaitteke/docker-mcp"
]
}
}
}List all containers, with options to include stopped containers and filter by status.
Create a new container from a specified image with given configuration such as ports, environment variables, and labels.
Start a stopped container by its ID or name.
Stop a running container gracefully.
Restart a running or stopped container.
Forcefully terminate a running container.
Remove a container, with optional confirmation step.
Retrieve detailed information about a container.
Fetch and stream container logs, with options for tail and follow.
Display real-time statistics for a container, such as CPU and memory usage.
Pause a running container.
Unpause a paused container.
List available images in the local daemon and registries.
Pull an image from a registry, with optional tag and authentication.
Push a local image to a registry.
Tag an existing image with a new repository or tag.
Remove a local image from the daemon.
Get metadata and details about a specific image.
Show the history of an image, including layer information.
List all Docker networks.
Create a new Docker network with specified driver and options.
Remove a Docker network.
Inspect details of a Docker network.
Connect a container to a network.
Disconnect a container from a network.
List all Docker volumes.
Create a Docker volume for persistent storage.
Remove a Docker volume.
Inspect details of a Docker volume.
Get Docker daemon information and capabilities.
Retrieve the Docker daemon version.
Prune all unused Docker resources across the system.
Prune unused images from the daemon.
Prune stopped containers.
Prune unused volumes.
Prune unused networks.
Execute a command inside a running container, with optional TTY support.
Inspect details of an active exec session.
Start Docker Compose services for a project.
Stop and remove Docker Compose services.
List Docker Compose services and their status.
View logs for Docker Compose services.
Parse and validate a docker-compose.yml file.
Build Docker Compose services.
Restart Docker Compose services.
Stop Docker Compose services.
Start Docker Compose services.
Search repositories on Docker Hub.
Get tags for a Docker Hub repository.
Authenticate with Docker Hub.
Pull an image from Docker Hub.
Push an image to Docker Hub.
Authenticate with GitHub Container Registry.
Pull an image from GHCR.
Push an image to GHCR.