docker-readContainerFile
Read a file from inside a Docker container by specifying the container ID and file path, letting you inspect application configuration or logs directly from your Dokploy instance.
Instructions
GET /docker.readContainerFile
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"containerId": "<containerId>",
"path": "<path>"
},
"name": "docker-readContainerFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| serverId | No | ||
| containerId | Yes |