---
title: "Push an image"
method: POST
path: "/images/{name}/push"
tags: ["Image"]
---

# Push an image

`POST /images/{name}/push`

Push an image to a registry.

If you wish to push an image on to a private registry, that image must
already have a tag which references the registry. For example,
`registry.example.com/myimage:latest`.

The push is cancelled if the HTTP connection is closed.

## Path parameters

- `name` string, required

## Query parameters

- `tag` string
- `platform` string

## Headers

- `X-Registry-Auth` string, required

## Response `200`

No error

## Other responses

- `404` — No such image
- `500` — Server error

## Changes

> 6 revisions in range; 1 not diffed.

- **2026-07-17** `6c9afa985a92` — 1 info
  - added the new optional `query` request parameter `platform`

[Change history](https://skmtc.dev/mirantis/apis/docker-engine-api/changes/images/:name/push/post.md)

---

[API](https://skmtc.dev/mirantis/apis/docker-engine-api.md) · [All operations](https://skmtc.dev/mirantis/apis/docker-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mirantis/docker-engine-api/revisions/6c9afa985a92/schema)
