mirror of https://github.com/docker/docs.git
22 lines
488 B
Markdown
22 lines
488 B
Markdown
|
|
+++
|
|
title = "tag"
|
|
description = "The tag command description and usage"
|
|
keywords = ["tag, name, image"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
weight=1
|
|
+++
|
|
|
|
|
|
# tag
|
|
|
|
Usage: docker tag [OPTIONS] IMAGE[:TAG] [REGISTRYHOST/][USERNAME/]NAME[:TAG]
|
|
|
|
Tag an image into a repository
|
|
|
|
-f, --force=false Force
|
|
|
|
You can group your images together using names and tags, and then upload them
|
|
to [*Share Images via Repositories*](/reference/userguide/dockerrepos/#contributing-to-docker-hub).
|