---
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

> 4 revisions in range; 1 could not be searched.

- **2024-09-09** `5da7390b880c` — 1 info
  - added the new optional `query` request parameter `platform`
- **2023-04-21** `04e23a3e68d7` — 1 warning
  - deleted the `query` request parameter `platform`

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

---

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