Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions content/get-started/workshop/04_sharing_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ In the following image, you can see an example Docker command from Docker Hub. T

## Push the image

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

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

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

> [!NOTE]
>
> 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`.

2. Sign in to Docker Hub using the command `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
Expand Down