The page has been translated by Gen AI.

Managing the Repository

A repository is a logical management unit for images within a registry. By using a repository, you can set the default security policy for images generated beneath it.

Creating a repository

To create a repository, follow these steps.

  1. Click the All Services > Container > Container Registry menu. 1. Go to the Service Home page of Container Registry.
  2. On the Service Home page, click the Repository menu. 2. Go to the Repository list page.
  3. On the Repository List page, click the Create Repository button. 3. Go to the Create Repository page.
    • Repository list at the top of the page, click the Settings icon to select an existing registry, or click Create new to create a registry.
  4. Enter the required information on the Repository creation page and select the detailed options.
    • In the Service Information Input area, enter or select the required information.
      Category
      Required
      Detailed description
      registry nameEssentialSelect the registry name to create the repository
      • If there is no existing registry, you can create a new one via the Create New button
      Repository nameEssentialRepository name to create
      • using lowercase English letters, numbers, and special characters (-) with a length of 3 to 30 characters (the start and end must be lowercase English letters or numbers only)
      Table. Repository Service Information Input Items
    • In the Repository Basic Policy Input area, enter or select the required information.
      Category
      Required status
      Detailed description
      Image scanOptionAutomatic scanning of image vulnerabilities generated in the repository and setting scan exclusion policies
      • You can set the default scan policy applied when an image is created in the repository
      • If you set automatic scanning to enabled, the image’s vulnerabilities are automatically checked when the image is pushed. In this case, the vulnerability scanning cost is billed.
      • If you set the scan exclusion policy to enabled, you can specify the inspection targets and vulnerabilities to exclude during image scanning
        • You can choose to exclude Language Package checks, Secret checks, and vulnerabilities without a Fix Version
      • Excludable vulnerabilities: you can select one of the following levels
        • (None / Unknown / Negligible / Low / Medium / High / Critical) Exclude vulnerabilities at or below this level
      Image Pull limitOptionPolicy settings for enabling the image Pull restriction feature in the repository and its limit values
      • You can set the default Pull restriction policy applied when an image is created in the repository
      • If the Pull restriction for unscanned images is set to Enabled, pulling images that have not been vulnerability‑checked is not allowed
      • If the Pull restriction policy for vulnerable images is set to Enabled, pulling an image is prohibited when Critical or High‑level vulnerabilities exceeding the specified values are found. The allowable input and selectable values for this policy are as follows
        • Critical: 1 (default) ~ 9,999,999
        • High: 1 (default) ~ 9,999,999
        • Exclude vulnerabilities without a Fix Version
          • When Enabled, vulnerabilities lacking a Fix Version (i.e., vulnerable packages/libraries without a patched version) are excluded from the Pull restriction policy
      Image lock statusOptionYou can set a lock to prevent deleting or updating any images inside the repository
      • If the repository’s image lock status is Lock, the Lock/Unlock function for individual images in the repository is disabled.
      • Changing the image lock status of a repository that is in the Lock state to Unlock enables the Lock/Unlock function for individual images.
      • Pushing new images is allowed.
      Delete image tagOptionYou can set an automatic image deletion policy for images stored in the repository
      • Selecting Enable Deletion Policy applies the image deletion policy
      • Selecting Untagged Image Auto Deletion, Tagged Image Auto Deletion applies the respective image deletion policy
      • Enter an automatic deletion period in the deletion policy; the image is automatically deleted after the specified period has elapsed since its initial push
      Table. Repository default policy input items
    • Additional Information Input area, enter or select the required information.
      Category
      Required
      Detailed description
      ExplanationSelectionRepository description
      • Enter repository description
      tagSelectionAdd Tag
      • Up to 50 per resource can be added
      • Add Tag After clicking the Add Tag button, enter or select Key, Value values
      Table. Repository additional information input fields
Reference
  • The Repository default policy input fields are used to set the default (initial) policy for Images created in the Repository. * (Role of the policy configuration template applied when creating an Image)
  • This setting can be changed on the detail view screen after creating a Repository, and it will be applied to Images created after the Repository default policy input items are modified. * The Image policy generated before the change will not be modified.
  • The default policy set for the Image can be modified on the Image detail screen.
  1. Summary Review the detailed information and estimated charges generated in the panel, and click the Create button.
    • Once creation is complete, check the created resources on the Repository List page.

View repository details

The Repository service allows you to view and edit the full list of resources and detailed information. Repository Details page consists of Details, Tags, Activity History tabs.

To view the repository details, follow these steps.

  1. Click the All Services > Container > Container Registry menu. 1. Go to the Service Home page of Container Registry.
  2. On the Service Home page, click the Repository menu. 2. Go to the Repository list page.
  3. Repository List page, click the resource (Repository) to view its detailed information. 3. Navigate to the Repository Details page.
    • Repository Details page displays the Repository’s status information and detailed information, and consists of Details, Tags, Activity History tabs.
      CategoryDetailed description
      Repository statusRepository status display
      • Active: available state
      • Deleting: deleting state
      • Inactive: state where deletion failed and is not available (only deletion request allowed)
      • Editing: editing settings or deleting sub-resources (images, tags) within the image
      User GuideRepository usage guide
      • CLI-based commands for using images within the repository are available
      Delete repositoryButton to delete the repository
      Table. Status information and additional features

Detailed Information

Repository List page lets you view detailed information of the selected resource and edit the information if needed.

CategoryDetailed description
ServiceService name
Resource TypeResource Type
SRNUnique resource ID in Samsung Cloud Platform
  • In the Repository, it refers to the repository SRN
Resource nameResource name
  • In Repository, it means repository name
Resource IDUnique resource ID in the service
ConstructorUser who created the repository
Creation timestampRepository creation timestamp
ModifierUser who modified the repository
Modification date and timeRepository modification timestamp
Repository nameUser-created repository name
registry nameRegistry name linked to the repository
  • Click the resource name to go to the detail page
ExplanationFor the generated repository, the user-entered description
  • Edit icon can be clicked to change the settings
imageLink to view the list of stored images in the repository
Image scanAutomatic image vulnerability scanning and scan exclusion policy settings for images generated in the repository
  • You can set the default scan policy applied when an image is created in the repository (serves as a policy configuration template applied at image creation)
  • Edit icon can be clicked to change whether automatic image vulnerability scanning is enabled, whether the scan exclusion policy is used, and the detailed policies
    • If automatic scanning is set to Enabled, the image’s vulnerabilities are automatically checked when the image is pushed. This setting applies only to images pushed after automatic scanning is enabled, and vulnerability scanning costs are billed when automatic scanning is performed
    • If the scan exclusion policy is set to Enabled, you can specify the scan targets and vulnerabilities to exclude during image scanning as follows
      • Excludable scan targets
        • Exclude Language Packages
        • Exclude Secrets
        • Exclude vulnerabilities without a Fix Version
      • Excludable vulnerabilities: you can select one of the following levels
        • (None / Unknown / Negligible / Low / Medium / High / Critical) level and below are excluded
Image Pull limitPolicy settings for enabling the image Pull restriction feature and its limit values for images generated in the repository
  • You can set the default Pull restriction policy applied when an image is created in the repository (serves as a policy configuration template applied at image creation)
  • Edit icon can be clicked to change the enablement of the image Pull restriction feature and its limit values
    • If the Pull restriction for unscanned images is set to Enabled, pulling images that have not been vulnerability‑checked is not allowed
    • If the Pull restriction for vulnerable images is set to Enabled, pulling an image is prohibited when Critical or High‑level vulnerabilities exceeding the specified value are found. The values that can be entered or selected in this policy are as follows
      • Critical: 1 (default) ~ 9,999,999
      • High: 1 (default) ~ 9,999,999
      • Exclude vulnerabilities without a Fix Version
        • When Enabled, vulnerabilities without a Fix Version (i.e., vulnerable packages/libraries lacking a patched version) are excluded from the Pull restriction policy
Image lock statusYou can set a lock to prevent deleting or updating any images inside the repository
  • Edit icon can be clicked to change the image lock status
  • If the repository’s image lock status is Lock, the Lock/Unlock function for individual images within the repository is disabled
  • If you Unlock the image lock status of a repository that is in the Lock state, the Lock/Unlock function for individual images becomes enabled
  • Pushing new images is allowed
Delete image tagSet the automatic image deletion policy for images stored in the repository
  • Edit icon can be clicked to change the image tag deletion policy
  • If the deletion policy is set to Enabled, the image tag deletion policy can be applied
  • Selecting the Untagged Image automatic deletion, Tagged Image automatic deletion options of the deletion policy applies the respective image deletion policy
  • Enter an automatic deletion period in the deletion policy; the image will be automatically deleted after the specified period has elapsed since its initial push
Table. Repository detailed information tab items

Tag

Repository list page lets you view the tag information of the selected resource, and you can add, modify, or delete it.

CategoryDetailed description
Tag listTag list
  • You can view the Key and Value information of the tag
  • Up to 50 tags can be added per resource
  • When entering a tag, you can search and select from the list of previously created Keys and Values
Table. Repository tag tab items

Job History

On the Repository List page, you can view the operation history of the selected resource.

CategoryDetailed description
Task History ListResource Change History
  • Operation timestamp, resource type, resource name, operation details, operation result, operator name, path information can be viewed
Table. Work History tab items

Delete Repository

Caution
If an Image exists in the repository, the repository cannot be deleted. To delete a Repository, first delete all Images within that Repository, then delete the Repository.

To delete a repository, follow these steps.

  1. Click the All Services > Container > Container Registry menu. 1. Navigate to the Service Home page of Container Registry.
  2. On the Service Home page, click the Repository menu. 2. Go to the Repository list page.
  3. On the Repository List page, click the resource (Repository) to view its detailed information. 3. Navigate to the Repository Details page.
  4. On the Repository Details page, click Delete Repository.
  5. Delete Repository in the popup window, please enter the Repository name.
  6. If you enter the Repository name correctly, the Confirm button becomes active. 6. Click the Confirm button.
  7. Once termination is complete, check the Repository List page to see if the resource has been terminated.
How-to guides
Managing Images and Tags