Skip to content

Commit 1d23bf5

Browse files
dhi: clarify login (#23859)
<!--Delete sections as needed --> ## Description Clarify that you must log in using your Docker credentials (not some special dhi credentials) with a link to create if necessary, noting that it's free. ## Related issues or tickets https://docker.slack.com/archives/C04BMTUC41E/p1765993571833459 ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Editorial review --------- Signed-off-by: Craig Osterhout <craig.osterhout@docker.com> Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
1 parent 02a956d commit 1d23bf5

File tree

8 files changed

+39
-18
lines changed

8 files changed

+39
-18
lines changed

content/manuals/dhi/get-started.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,20 @@ DHIs](./how-to/use.md#considerations-when-adopting-dhis).
4747
The following example demonstrates that you can run the Python image and execute
4848
a simple Python command just like you would with any other Docker image:
4949

50-
1. Open a terminal and run the following commands:
50+
1. Open a terminal and sign in to the Docker Hardened Images registry using your
51+
Docker ID credentials.
5152

5253
```console
5354
$ docker login dhi.io
55+
```
56+
57+
2. Pull the image:
58+
59+
```console
5460
$ docker pull dhi.io/python:3.13
5561
```
5662

57-
2. Run the image to confirm everything works:
63+
3. Run the image to confirm everything works:
5864

5965
```console
6066
$ docker run --rm dhi.io/python:3.13 python -c "print('Hello from DHI')"

content/manuals/dhi/how-to/scan.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ be mirrored into your organization on Docker Hub.
2525
2626
> [!IMPORTANT]
2727
>
28-
> You must authenticate to the Docker Hardened Image registry (`dhi.io`) to pull images. To
29-
> do this, you can use [`docker login`](../../../reference/cli/docker/login.md):
28+
> You must authenticate to the Docker Hardened Images registry (`dhi.io`) to
29+
> pull images. Use your Docker ID credentials (the same username and password
30+
> you use for Docker Hub) when signing in. If you don't have a Docker account,
31+
> [create one](../../accounts/create-account.md) for free.
3032
>
31-
> ```console
32-
> $ docker login dhi.io
33-
> ```
33+
> Run `docker login dhi.io` to authenticate.
3434
3535
## Docker Scout
3636

content/manuals/dhi/how-to/use.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ package manager, and may run as a nonroot user by default.
1616

1717
> [!IMPORTANT]
1818
>
19-
> You must authenticate to the Docker Hardened Image registry (`dhi.io`) to pull images. To
20-
> do this, you can use [`docker login`](../../../reference/cli/docker/login.md):
19+
> You must authenticate to the Docker Hardened Images registry (`dhi.io`) to
20+
> pull images. Use your Docker ID credentials (the same username and password
21+
> you use for Docker Hub) when signing in. If you don't have a Docker account,
22+
> [create one](../../accounts/create-account.md) for free.
2123
>
22-
> ```console
23-
> $ docker login dhi.io
24-
> ```
24+
> Run `docker login dhi.io` to authenticate.
2525
2626
## Considerations when adopting DHIs
2727

content/manuals/dhi/how-to/verify.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ Docker's public key for DHI images and charts is published at:
1818

1919
> [!IMPORTANT]
2020
>
21-
> You must authenticate to the Docker Hardened Image registry (`dhi.io`) to pull images. To
22-
> do this, you can use [`docker login`](../../../reference/cli/docker/login.md):
21+
> You must authenticate to the Docker Hardened Images registry (`dhi.io`) to
22+
> pull images. Use your Docker ID credentials (the same username and password
23+
> you use for Docker Hub) when signing in. If you don't have a Docker account,
24+
> [create one](../../accounts/create-account.md) for free.
2325
>
24-
> ```console
25-
> $ docker login dhi.io
26-
> ```
27-
26+
> Run `docker login dhi.io` to authenticate.
2827
2928
## Verify image attestations with Docker Scout
3029

content/manuals/dhi/migration/examples/go.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Hardened Images. Each example includes four variations:
2121
> supported for simplicity, but come with tradeoffs in size and security.
2222
>
2323
> You must authenticate to `dhi.io` before you can pull Docker Hardened Images.
24+
> Use your Docker ID credentials (the same username and password you use for
25+
> Docker Hub). If you don't have a Docker account, [create
26+
> one](../../../accounts/create-account.md) for free.
27+
>
2428
> Run `docker login dhi.io` to authenticate.
2529
2630
{{< tabs >}}

content/manuals/dhi/migration/examples/node.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Hardened Images. Each example includes four variations:
2121
> supported for simplicity, but come with tradeoffs in size and security.
2222
>
2323
> You must authenticate to `dhi.io` before you can pull Docker Hardened Images.
24+
> Use your Docker ID credentials (the same username and password you use for
25+
> Docker Hub). If you don't have a Docker account, [create
26+
> one](../../../accounts/create-account.md) for free.
27+
>
2428
> Run `docker login dhi.io` to authenticate.
2529
2630
{{< tabs >}}

content/manuals/dhi/migration/migrate-from-doi.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ replaced by the new hardened image.
4646
> [!NOTE]
4747
>
4848
> You must authenticate to `dhi.io` before you can pull Docker Hardened Images.
49+
> Use your Docker ID credentials (the same username and password you use for
50+
> Docker Hub). If you don't have a Docker account, [create
51+
> one](../../accounts/create-account.md) for free.
52+
>
4953
> Run `docker login dhi.io` to authenticate.
5054
5155

content/manuals/dhi/migration/migrate-from-wolfi.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ replaced by the new hardened image.
3232
> [!NOTE]
3333
>
3434
> You must authenticate to `dhi.io` before you can pull Docker Hardened Images.
35+
> Use your Docker ID credentials (the same username and password you use for
36+
> Docker Hub). If you don't have a Docker account, [create
37+
> one](../../accounts/create-account.md) for free.
38+
>
3539
> Run `docker login dhi.io` to authenticate.
3640
3741
```diff

0 commit comments

Comments
 (0)