Updated on 2025-09-19 GMT+08:00

Anonymous Access to a Repository

Scenarios

If you enable anonymous access to a repository and set a namespace of the repository to public, all images in the namespace are public. These images can be downloaded more conveniently.

  • If anonymous access is enabled, you can download public images without logging in to Docker.
  • If anonymous access is disabled,
    • Public images: You can download public images after logging in to Docker. No additional permissions are required.
    • Private images: You can download private images after you log in to Docker and are granted the download permission (the corresponding action is swr:repository:downloadArtifact). For details, see Table 1 SWR Enterprise Edition operations supported by system-defined policies.

Procedure

  1. Log in to the SWR console. In the upper left corner, switch to your region.
  2. Click the repository name to go to the Dashboard page.
  3. Enable anonymous access in the Basic Information area.