mirror of https://github.com/docker/docs.git
28 lines
1.9 KiB
HTML
28 lines
1.9 KiB
HTML
{{ $product_link := "[Docker Hub](https://hub.docker.com)" }}
|
||
{{ $ram_navigation := "Select **Organizations**, your organization, **Settings**, and then select **Registry Access**." }}
|
||
{{ if eq (.Get "product") "admin" }}
|
||
{{ $product_link = "the [Admin Console](https://admin.docker.com)" }}
|
||
{{ $ram_navigation = "Select your organization in the left navigation drop-down menu, and then select **Registry access**." }}
|
||
{{ end }}
|
||
|
||
To configure Registry Access Management permissions, perform the following steps:
|
||
|
||
1. Sign in to {{ $product_link }}.
|
||
2. {{ $ram_navigation }}
|
||
3. Enable Registry Access Management to set the permissions for your registry.
|
||
|
||
> [!NOTE]
|
||
>
|
||
> When enabled, the Docker Hub registry is set by default, however you can also restrict this registry for your developers.
|
||
|
||
4. Select **Add registry** and enter your registry details in the applicable fields, and then select **Create** to add the registry to your list.
|
||
5. Verify that the registry appears in your list and select **Save changes**.
|
||
|
||
> [!NOTE]
|
||
>
|
||
> Once you add a registry, it can take up to 24 hours for the changes to be enforced on your developers’ machines. If you want to apply the changes sooner, you must force a Docker logout on your developers’ machine and have the developers re-authenticate for Docker Desktop. Also, there is no limit on the number of registries you can add. See the Caveats section below to learn more about limitations when using this feature.
|
||
|
||
> [!TIP]
|
||
>
|
||
> Since RAM sets policies about where content can be fetched from, the [ADD](/reference/dockerfile/#add) instruction of the Dockerfile, when the parameter of the ADD instruction is a URL, is also subject to registry restrictions. It's recommended that you add the domains of URL parameters to the list of allowed registry addresses under the Registry Access Management settings of your organization.
|