container_logsGet logs from a Docker container.Input schema{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"tail": {
"type": "number",
"default": 100,
"description": "Number of lines from the end"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
container_statsGet CPU, memory, and network stats for a running Docker container.Input schema{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
exec_commandExecute a command inside a running Docker container.Input schema{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"command": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command and arguments, e.g. ['ls', '-la']"
}
},
"required": [
"id",
"command"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
list_containersList Docker containers. Set all=true to include stopped containers.Input schema{
"type": "object",
"properties": {
"all": {
"type": "boolean",
"default": false,
"description": "Include stopped containers"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
list_imagesList Docker images on the host.Input schema{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {}
} | — | | — |
remove_containerRemove a Docker container. Use force=true to remove running containers.Input schema{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
},
"force": {
"type": "boolean",
"default": false,
"description": "Force remove running container"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
remove_imageRemove a Docker image. Use force=true to force removal.Input schema{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Image ID or tag"
},
"force": {
"type": "boolean",
"default": false,
"description": "Force remove"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
restart_containerRestart a Docker container.Input schema{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
start_containerStart a stopped Docker container.Input schema{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |
stop_containerStop a running Docker container.Input schema{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Container ID or name"
}
},
"required": [
"id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
} | — | | — |