save_image_to_file
Save a Docker image as a tar archive to a host file, with options to keep the image name and overwrite existing files.
Instructions
Save an image as a tar archive written to a file on the host running this MCP server.
Streams the archive straight to disk (no in-band byte cap), so it handles large images. The file
is written by the server's user; ~ is expanded and an existing file is refused unless overwrite=True.
args: name - Image name or id dest_path - Destination path on the server host for the tarball named - Whether to keep the image name when saving overwrite - Replace dest_path if it already exists (default False) returns: dict - {"path": , "bytes_written": int}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| named | No | ||
| dest_path | Yes | ||
| overwrite | No |