Skip to content

Commit 888dd94

Browse files
authored
feat(container): secure Docker login int-feat-containers (#3999)
1 parent a34b236 commit 888dd94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

containers/container-registry/quickstart.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Scaleway [Container Registry](/containers/container-registry/concepts/#container
4747
3. Copy the push instructions. Then click **X** to close the pop-up.
4848
4. Open a terminal window on your local computer. Then log into the namespace by running the following command from the terminal:
4949
```
50-
docker login rg.fr-par.scw.cloud/mynamespace -u nologin -p [SCW_SECRET_KEY]
50+
echo <SCW_SECRET_KEY> | docker login rg.fr-par.scw.cloud/<NAMESPACE> -u nologin --password-stdin
5151
```
5252

5353
<Message type="important">
54-
Replace `[SCW_SECRET_KEY]` with your [API secret key](/identity-and-access-management/iam/how-to/create-api-keys/) and `mynamespace` with the name of your namespace.
54+
Replace `<SCW_SECRET_KEY>` with your [API secret key](/identity-and-access-management/iam/how-to/create-api-keys/) and `<NAMESPACE>` with the name of your namespace.
5555
</Message>
5656

5757
Once logged in, a confirmation is displayed:
@@ -96,4 +96,4 @@ You are now logged in and ready to push and pull images to and from your Contain
9696

9797
<Message type="note">
9898
The current configuration allows you up to 20 pulls/min per image.
99-
</Message>
99+
</Message>

0 commit comments

Comments
 (0)