Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update order of images in docker image tag command #21699

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update order of images in docker image tag command
There was a mistake in the command for tagging an image that you have present in your list of images, order should be like this: 
'docker image tag ALREADY_PRESENT_IMAGE IMAGE_THAT_YOU_WANT_TO_PUSH'
not the other way around
  • Loading branch information
nebojsatomic authored Dec 29, 2024
commit 6955bf7f5e6690017b5b152d1140bdc9805e8201
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ docker build -t my-username/my-image .
If you've already built an image, you can add another tag to the image by using the [`docker image tag`](https://docs.docker.com/engine/reference/commandline/image_tag/) command:

```console
docker image tag my-username/my-image another-username/another-image:v1
docker image tag already-present-image:tag my-username/my-image:tag
```

### Publishing images