Update Docker login command syntax

There was -u missing in the login command syntax, which would prompt to provide username and password, but never succeed the login attempt.
This commit is contained in:
Kaflesagar0 authored and GitHub committed 2026-06-02 11:16:23 +03:00
1 parent 553c69e1b7
commit 934faffc71
1 file changed
+1 -1
@@ -64,7 +64,7 @@ Let's try to push the image to Docker Hub.
docker image ls
```
2. To fix this, first sign in to Docker Hub using your Docker ID: `docker login YOUR-USER-NAME`.
2. To fix this, first sign in to Docker Hub using your Docker ID: `docker login -u YOUR-USER-NAME`.
3. Use the `docker tag` command to give the `getting-started` image a new name. Replace `YOUR-USER-NAME` with your Docker ID.
```console