Skip to content

Commit 7771023

Browse files
reorder steps
1 parent b378487 commit 7771023

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

content/get-started/workshop/04_sharing_app.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ In the following image, you can see an example Docker command from Docker Hub. T
3838

3939
## Push the image
4040

41-
1. In the command line, run the `docker push` command that you see on Docker
41+
1. Sign in to Docker Hub using the command: `docker login YOUR-USER-NAME YOUR-PASSWORD`.
42+
2. In the command line, run the `docker push` command that you see on Docker
4243
Hub. Note that your command will have your Docker ID, not "docker". For example, `docker push YOUR-USER-NAME/getting-started`.
4344

4445
```console
@@ -52,12 +53,6 @@ In the following image, you can see an example Docker command from Docker Hub. T
5253

5354
To fix this, you need to tag your existing image you've built to give it another name.
5455

55-
> [!NOTE]
56-
>
57-
> If you encounter the following error: `denied: requested access to the resource is denied`, you can retry with `$ docker login -u "myusername" -p "mypassword" docker.io`.
58-
59-
2. Sign in to Docker Hub using the command `docker login -u YOUR-USER-NAME`.
60-
6156
3. Use the `docker tag` command to give the `getting-started` image a new name. Replace `YOUR-USER-NAME` with your Docker ID.
6257

6358
```console

0 commit comments

Comments
 (0)