export_container
Export a container's filesystem as a tar archive, returned in-band. Use for small containers with configurable size limit (default 32 MiB).
Instructions
Export a container's filesystem as a tar archive, returned in band.
For anything but a small container prefer export_container_to_file, which streams to a host
path; the in-band bytes here are capped (default 32 MiB) because MCP base64-encodes them.
args: id_or_name - The container id or name max_bytes - Abort with ValueError if the export exceeds this many bytes (defaults to 32 MiB) returns: bytes - The tar archive contents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_bytes | No | ||
| id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |