docker_cli
Run arbitrary Docker commands not covered by other tools, with previews for changes and background jobs for long builds or pulls.
Instructions
Run any docker command, for things the other docker tools do not cover.
Give the arguments after "docker", for example: "system df" or "compose -p demo ps". Read commands (ps, images, inspect, logs, info, version, stats --no-stream, network ls ...) run right away. Anything else shows a preview first. background=true starts it as a background job (builds, pulls, big compose runs). Check it with server_job.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| host | No | ||
| as_root | No | ||
| confirm | No | ||
| background | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |