mirror of https://github.com/docker/docs.git
Merge pull request #20023 from lexfromlau/patch-1
remove -u flag from docker push
This commit is contained in:
commit
9da516710d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue