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
- Go to Settings → Integrations → Docker
- Click Connect
- Enter your Docker host URL (e.g.,
tcp://host:2376) - Upload TLS certificates if using secure connection
- 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
| Action | Description |
|---|---|
| List containers | Get all containers |
| Get container | Container details |
| Create container | Start new container |
| Start container | Start stopped container |
| Stop container | Gracefully stop |
| Restart container | Stop and start |
| Kill container | Force stop |
| Remove container | Delete container |
| Get logs | Container output |
| Get stats | CPU, memory, network |
Images
| Action | Description |
|---|---|
| List images | Get all images |
| Pull image | Download from registry |
| Remove image | Delete local image |
| Tag image | Add image tag |
| Get image history | Layer information |
Volumes
| Action | Description |
|---|---|
| List volumes | Get all volumes |
| Create volume | New storage volume |
| Remove volume | Delete volume |
| Inspect volume | Volume details |
Networks
| Action | Description |
|---|---|
| List networks | Get all networks |
| Create network | New network |
| Remove network | Delete network |
| Connect container | Attach 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 limitsResource 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 stepsImage 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