Docker
Docker Engine API control (containers, images, exec, logs) via unix socket or TCP (no dependency needed)
- Package:
plugin-docker
- Author: Kai
- Version: 1.0.0
Credentials
| Key |
Label |
Type |
Required |
Default |
connection |
Connection type |
select (unix, tcp) |
yes |
unix |
socketPath |
Unix socket path |
string |
no |
/var/run/docker.sock |
hostUrl |
TCP base URL |
string |
no |
http://127.0.0.1:2375 |
apiToken |
Authorization token (TCP only, optional) |
secret |
no |
– |
Settings
| Key |
Label |
Type |
Required |
Default |
timeoutMs |
Timeout (ms) |
number |
no |
20000 |
Tools
| Tool |
Description |
docker_ping |
Checks Docker Engine availability (GET /_ping) |
docker_list |
Lists containers |
docker_inspect |
Inspects a container (full JSON) |
docker_start |
Starts a container |
docker_stop |
Stops a container |
docker_restart |
Restarts a container |
docker_remove |
Removes a container |
docker_logs |
Returns container logs |
docker_images |
Lists images |
docker_pull |
Pulls an image from a registry |
docker_remove_image |
Removes an image |
docker_stats |
Live resource usage for one or all running containers |
docker_exec |
Runs a command inside a running container and returns the output |