Integrations
Docker
Inspect containers and logs from Docker
Inspect containers, images, and logs from Docker.
What Stalar can do
| Tool | Description |
|---|---|
| List containers | Get running and stopped containers |
| Get container logs | Read logs from a container |
| Inspect container | Get detailed container configuration |
| Get container stats | View CPU, memory, and network stats |
| List images | Get available Docker images |
| List networks | Get Docker networks |
| List volumes | Get Docker volumes |
| Get Docker info | Get Docker daemon information |
Configuration
All fields are optional. If no configuration is provided, Stalar connects to the local Docker socket.
Optional
| Field | Description |
|---|---|
socketPath | Path to Docker socket (default: /var/run/docker.sock) |
host | Remote Docker host |
port | Remote Docker port |
protocol | Connection protocol (http or https) |
Config file example
integrations:
# Local Docker socket (default)
- name: "docker-local"
type: "docker"
environment: "development"
config:
socketPath: "/var/run/docker.sock"
# Remote Docker host
- name: "docker-remote"
type: "docker"
environment: "production"
config:
host: "docker.example.com"
port: 2376
protocol: "https"
# Custom socket path
- name: "docker-custom"
type: "docker"
environment: "development"
config:
socketPath: "/Users/me/.docker/run/docker.sock"Example queries
- "What containers are running?"
- "Show me logs from the nginx container"
- "Which container is using the most memory?"
- "What images are available?"