compose_pull
Pre-fetch images for a Docker Compose project without starting containers. Stage images before maintenance or verify registry access.
Instructions
Pre-fetch images for a compose project's services without starting them.
Use this to stage images before an outage window, to refresh cached images before
compose_up, or to verify images are accessible without starting containers. For
registry-authenticated pulls ensure the daemon is logged in first with login.
compose_up --pull always does the same as part of startup; use this tool when you
want to separate the pull step.
args:
project_dir - Dir containing the compose file (default: server cwd)
files - Explicit compose file paths, passed as -f (overrides auto-discovery)
project_name - Override the compose project name
services - Pull only these services; omit to pull all
ignore_pull_failures - Continue if an individual image pull fails
timeout_seconds - Subprocess timeout (default 1800s for large image pulls)
returns: dict - {"returncode": int, "stdout": str, "stderr": str, "truncated": bool}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| services | No | ||
| project_dir | No | ||
| project_name | No | ||
| timeout_seconds | No | ||
| ignore_pull_failures | No |