Inspect a container
inspect_containerRetrieve a container's image, command, state, exit code, ports, mounts, networks, labels, and environment variable names without exposing secret values.
Instructions
A container's details: image, command, state (with its exit code), ports, mounts, networks and labels, and the names of its environment variables (never their values, which may hold secrets).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | The container's name or id, as its list gives it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| image | Yes | ||
| ports | Yes | ||
| state | Yes | ||
| labels | Yes | ||
| mounts | Yes | ||
| command | Yes | ||
| networks | Yes | ||
| environment | Yes | Variable names only |