container_exec
Executes shell commands inside a running Docker container and returns output, automatically redacting secret values like passwords and tokens.
Instructions
Executes a shell command inside a running container and returns its output. Values that look like secrets (PASSWORD=, "token": "...", etc.) are redacted before being returned. Args: container_name: Docker Container name command: shell command to run inside the container, e.g. "ls -la /app"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| container_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |