image_pull
Pull a Docker image from a registry into the daemon's local store for use. Handles specific tags, all tags, or platform-specific images, with optional per-call credentials for private repositories.
Instructions
Pull an image from a registry to the daemon's local store.
Private repositories need credentials - system_login (or docker login on the host) first,
or auth_config to authenticate this call alone. Use image_load for tarballs, and
registry_manifest / image_registry_data to inspect a remote image without pulling it.
Security: auth_config carries registry credentials, which many MCP clients log verbatim. Prefer
docker login on the host so the docker module reuses credentials cached in
~/.docker/config.json, and leave auth_config unset.
Args:
tag: The image tag (ignored when all_tags=True)
all_tags: Pull all tags from the repository
platform: Platform in os/arch format
auth_config: Per-call registry credentials under the keys username and password;
overrides the cached credential for this pull only
Returns: dict | list: The pulled image's full inspect payload, or one per image if all_tags=True
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| all_tags | No | ||
| platform | No | ||
| repository | Yes | ||
| auth_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |