mirror of https://github.com/docker/docs.git
Update what-is-a-registry.md
remove -u flag from docker push
This commit is contained in:
parent
bbb894f3e4
commit
794cf292f7
|
@ -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:
|
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
|
```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.
|
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