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

# Tag an image

`POST /images/{name}/tag`

Tag an image so that it becomes part of a repository.

## Path parameters

- `name` string, required

## Query parameters

- `repo` string
- `tag` string

## Response `201`

No error

## Other responses

- `400` — Bad parameter
- `404` — No such image
- `409` — Conflict
- `500` — Server error

---

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