Update what-is-a-registry.md

remove -u flag from docker push
This commit is contained in:
lexfromlau 2024-05-13 14:17:52 +02:00 committed by GitHub
parent bbb894f3e4
commit 794cf292f7
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.