image_load
Load a Docker image from a tarball, either from in-band bytes or a file path on the server host. Use this to restore images saved with image_save.
Instructions
Load an image from a tarball produced by image_save, from in-band bytes or a file on the server host.
Counterpart of image_save; when the image lives in a registry, image_pull is the normal
route, and for a flat rootfs archive that is not a docker save bundle use image_import.
Pass exactly one of data (tarball bytes in band) or from_file (a path on the server host,
streamed straight to the daemon - preferred for anything but small images, since in-band bytes are
base64-encoded by MCP). from_file is read by the server's user; ~ is expanded.
Args:
data: Tarball contents; exactly one of data/from_file
from_file: Path to a tarball produced by docker save / image_save; exactly one of data/from_file
Returns: list: One full inspect payload per loaded image
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "image_load"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| from_file | No |