Integrations

Docker

Container management, image operations, and runtime control

The Docker connector provides 30 actions for managing containers, images, volumes, and networks via the Docker API.

Setup

Connect via Docker Host

  1. Go to Settings → Integrations → Docker
  2. Click Connect
  3. Enter your Docker host URL (e.g., tcp://host:2376)
  4. Upload TLS certificates if using secure connection
  5. Test connection and save

Connection Options

  • Local socket: unix:///var/run/docker.sock
  • Remote TCP: tcp://your-host:2376
  • TLS secured: Requires CA, cert, and key files

Security Note

Expose Docker API securely. Use TLS authentication and firewall rules to restrict access.

Available Actions (30)

Containers

ActionDescription
List containersGet all containers
Get containerContainer details
Create containerStart new container
Start containerStart stopped container
Stop containerGracefully stop
Restart containerStop and start
Kill containerForce stop
Remove containerDelete container
Get logsContainer output
Get statsCPU, memory, network

Images

ActionDescription
List imagesGet all images
Pull imageDownload from registry
Remove imageDelete local image
Tag imageAdd image tag
Get image historyLayer information

Volumes

ActionDescription
List volumesGet all volumes
Create volumeNew storage volume
Remove volumeDelete volume
Inspect volumeVolume details

Networks

ActionDescription
List networksGet all networks
Create networkNew network
Remove networkDelete network
Connect containerAttach to network

Use Cases

Container Down

Customer: "Our web app container crashed"

AI:
1. Calls list_containers(all: true)
2. Finds web-app: status=exited
3. Calls get_logs(web-app, tail: 100)
4. Reports: "OOM killed, needs more memory"
5. Offers to restart with new limits

Resource Check

Customer: "Server is slow, check container usage"

AI:
1. Calls list_containers()
2. Calls get_stats() for each
3. Reports: "redis using 2GB RAM"
4. Suggests optimization steps

Image Update

Customer: "Deploy the latest version of our app"

AI:
1. Calls pull_image(myapp:latest)
2. Stops current container
3. Creates new container with updated image
4. Reports: "Deployed myapp:v2.3.1"

Configuration

  • Host access: Docker daemon connection URL
  • Container control: Enable start/stop/restart
  • Image management: Allow pull/remove operations
  • Volume write: Enable volume operations