1
0
mirror of synced 2025-12-21 19:06:49 -05:00
Files
docs/content/packages/managing-container-images-with-github-container-registry/configuring-access-control-and-visibility-for-container-images.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

5.3 KiB

title, intro, product, versions
title intro product versions
Configuring access control and visibility for container images Choose who has read, write, or admin access to your container image and the visibility of your container images on {% data variables.product.prodname_dotcom %}. {% data reusables.gated-features.packages %}
free-pro-team
*

{% data reusables.package_registry.container-registry-beta %}

Configuring access to container images for your personal account

If you have admin permissions to a user-account owned container image, you can assign read, write, or admin roles to other users. For more information about these permission roles, see "Visibility and access permissions for container images."

{% data reusables.package_registry.package-settings-from-user-level %}

  1. On the package settings page, click Invite teams or people and enter the name, username, or email of the person you want to give access. Teams cannot be given access to a container image owned by a user account. Container access invite button
  2. Next to the username or team name, use the "Role" drop-down menu to select a desired permission level. Container access options

The selected users will automatically be given access and don't need to accept an invitation first.

Configuring access to container images for an organization

If you have admin permissions to an organization-owned container image, you can assign read, write, or admin roles to other users and teams. For more information about these permission roles, see "Visibility and access permissions for container images."

If your package is owned by an organization and private, then you can only give access to other organization members or teams.

For organization image containers, organizations admins must enable packages before you can set the visibility to public. For more information, see "Enabling GitHub Container Registry for your organization."

{% data reusables.package_registry.package-settings-from-org-level %}

  1. On the package settings page, click Invite teams or people and enter the name, username, or email of the person you want to give access. You can also enter a team name from the organization to give all team members access. Container access invite button
  2. Next to the username or team name, use the "Role" drop-down menu to select a desired permission level. Container access options

The selected users or teams will automatically be given access and don't need to accept an invitation first.

Configuring visibility of container images for your personal account

When you first publish a package, the default visibility is private and only you can see the package. You can modify a private or public container image's access by changing the access settings.

A public package can be accessed anonymously without authentication. Once you make your package public, you cannot make your package private again.

{% data reusables.package_registry.package-settings-from-user-level %} 5. Under "Danger Zone", choose a visibility setting: - To make the container image visible to anyone, click Make public. {% warning %}

**Warning:** Once you make a package public, you cannot make it private again.

{% endwarning %}
- To make the container image visible to a custom selection of people, click **Make private**.

Container visibility options

Configuring visibility of container images for an organization

When you first publish a package, the default visibility is private and only you can see the package. You can grant users or teams different access roles for your container image through the access settings.

A public package can be accessed anonymously without authentication. Once you make your package public, you cannot make your package private again.

For organization image containers, organizations admins must enable public packages before you can set the visibility to public. For more information, see "Enabling GitHub Container Registry for your organization."

{% data reusables.package_registry.package-settings-from-org-level %} 5. Under "Danger Zone", choose a visibility setting: - To make the container image visible to anyone, click Make public. {% warning %}

**Warning:** Once you make a package public, you cannot make it private again.

{% endwarning %}
- To make the container image visible to a custom selection of people, click **Make private**.

Container visibility options