image_push
Push a Docker image or repository to a registry. Tag the image locally with the target repository and tag before pushing to Docker Hub or private registries.
Instructions
Push an image or repository to a registry.
The local image must already bear the target name — image_tag it with the
registry-qualified repository[:tag] first; a bare name pushes to Docker Hub. Private
registries need credentials (system_login, or docker login on the host).
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: repository - The image repository tag - The tag to push auth_config - Optional registry authentication config returns: str - Push output as a string
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| repository | Yes | ||
| auth_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |