Merge pull request #20023 from lexfromlau/patch-1

remove -u flag from docker push
This commit is contained in:
David Karlsson 2024-05-13 15:56:30 +02:00 committed by GitHub
commit 9da516710d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ Don't worry about the specifics of the Dockerfile, as you'll learn about that in
7. Finally, it's time to push the newly built image to your Docker Hub repository by using the [`docker push`](/reference/cli/docker/image/push/) command:
```console
docker push -u <YOUR_DOCKER_USERNAME>/docker-quickstart:1.0
docker push <YOUR_DOCKER_USERNAME>/docker-quickstart:1.0
```
8. Open [Docker Hub](https://hub.docker.com) and navigate to your repository. Navigate to the **Tags** section and see your newly pushed image.