Stalar
Integrations

Docker

Inspect containers and logs from Docker

Inspect containers, images, and logs from Docker.

What Stalar can do

ToolDescription
List containersGet running and stopped containers
Get container logsRead logs from a container
Inspect containerGet detailed container configuration
Get container statsView CPU, memory, and network stats
List imagesGet available Docker images
List networksGet Docker networks
List volumesGet Docker volumes
Get Docker infoGet Docker daemon information

Configuration

All fields are optional. If no configuration is provided, Stalar connects to the local Docker socket.

Optional

FieldDescription
socketPathPath to Docker socket (default: /var/run/docker.sock)
hostRemote Docker host
portRemote Docker port
protocolConnection 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?"