diff --git a/cli/command/image/tag.go b/cli/command/image/tag.go index 3a2ef56dd7b8..d0cb7d42fe9f 100644 --- a/cli/command/image/tag.go +++ b/cli/command/image/tag.go @@ -12,7 +12,7 @@ import ( func newTagCommand(dockerCLI command.Cli) *cobra.Command { cmd := &cobra.Command{ Use: "tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]", - Short: "Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE", + Short: "Create TARGET_IMAGE as a new tag for SOURCE_IMAGE", Args: cli.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) error { _, err := dockerCLI.Client().ImageTag(cmd.Context(), client.ImageTagOptions{ diff --git a/docs/reference/commandline/docker.md b/docs/reference/commandline/docker.md index 73ef948beae2..9566d644cde7 100644 --- a/docs/reference/commandline/docker.md +++ b/docs/reference/commandline/docker.md @@ -57,7 +57,7 @@ The base command for the Docker CLI. | [`stop`](stop.md) | Stop one or more running containers | | [`swarm`](swarm.md) | Manage Swarm | | [`system`](system.md) | Manage Docker | -| [`tag`](tag.md) | Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE | +| [`tag`](tag.md) | Create TARGET_IMAGE as a new tag for SOURCE_IMAGE | | [`top`](top.md) | Display the running processes of a container | | [`unpause`](unpause.md) | Unpause all processes within one or more containers | | [`update`](update.md) | Update configuration of one or more containers | diff --git a/docs/reference/commandline/image.md b/docs/reference/commandline/image.md index 3aa0843c2496..2f369503c106 100644 --- a/docs/reference/commandline/image.md +++ b/docs/reference/commandline/image.md @@ -18,7 +18,7 @@ Manage images | [`push`](image_push.md) | Upload an image to a registry | | [`rm`](image_rm.md) | Remove one or more images | | [`save`](image_save.md) | Save one or more images to a tar archive (streamed to STDOUT by default) | -| [`tag`](image_tag.md) | Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE | +| [`tag`](image_tag.md) | Create TARGET_IMAGE as a new tag for SOURCE_IMAGE | diff --git a/docs/reference/commandline/image_tag.md b/docs/reference/commandline/image_tag.md index ef0f8c29c91c..9b7b920df830 100644 --- a/docs/reference/commandline/image_tag.md +++ b/docs/reference/commandline/image_tag.md @@ -1,7 +1,7 @@ # tag -Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE +Create TARGET_IMAGE as a new tag for SOURCE_IMAGE ### Aliases diff --git a/docs/reference/commandline/tag.md b/docs/reference/commandline/tag.md index 4e980570a173..f9a84503a175 100644 --- a/docs/reference/commandline/tag.md +++ b/docs/reference/commandline/tag.md @@ -1,7 +1,7 @@ # docker tag -Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE +Create TARGET_IMAGE as a new tag for SOURCE_IMAGE ### Aliases