Manage Repository
A repository is a logical management unit for images within a registry. Using a repository, you can set the default security policy for images created underneath.
Creating a Repository
To create a repository, follow these steps.
- Click the All Services > Container > Container Registry menu. Go to the Service Home page of Container Registry.
- On the Service Home page, click the Repository menu. You will be taken to the Repository List page.
- On the Repository list page, click the Create Repository button. You will be taken 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.
- On the Repository creation page, enter the required information and select the detailed options.
- Enter or select the required information in the Service Information Input area.
Category RequiredDetailed description registry name Required Select the registry name for creating the repository - If no registry has been created, you can create a new one using the Create New button
Repository name Required Repository name to create - Enter 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 RequiredDetailed description Image scan option Automatic 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 which 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 limit Option Policy 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
- If you set the Pull restriction for unscanned images to Enabled, pulling images that have not been vulnerability‑checked is not allowed
- If you set the Pull restriction policy for vulnerable images 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 is selected, vulnerabilities lacking a Fix Version (i.e., when a vulnerable package/library has no patch version) are excluded from the Pull restriction policy
Image lock status option You can set a lock to prevent deletion or updating of all images within the repository - When the repository’s image lock status is Lock, the Lock/Unlock functions for individual images in the repository are disabled.
- Changing the image lock status of a repository that is in Lock state to Unlock enables the Lock/Unlock functions for individual images.
- Pushing new images is allowed.
Delete image tags option You can set an automatic image deletion policy for images stored in the repository - If you select Enabled for deletion policy activation, the image deletion policy is applied.
- If you set Untagged Image automatic deletion, Old Image automatic deletion items to Enabled, the corresponding image deletion policies are applied.
- 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.
- For detailed information on image tag deletion, see Image Tag Deletion Policy Management.
Table. Repository Default Policy Input Items - In the Additional Information Input area, enter or select the required information.
Category Required statusDetailed description Explanation Selection Repository description - Enter repository description
tag Selection Add Tag - Up to 50 can be added per resource
- After clicking the Add Tag button, enter or select Key, Value values
Table. Repository Additional Information Input Items
- Enter or select the required information in the Service Information Input area.
- The Repository default policy input fields are used to set the default (initial) policy for Images created in the Repository. (They serve as a policy configuration template applied when an Image is created.)
- This setting can be changed on the detail view screen after creating a Repository, and images created after modifying the Repository’s default policy entries will be configured with the updated policy. Images created before the change will retain their original policy.
- The default policy set for the Image can be modified on the Image detail screen.
- Summary Check the detailed information and estimated billing amount 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
Repository service allows you to view and edit the full list of resources and detailed information. The Repository Details page consists of Details, Tags, Activity History tabs.
To view the repository details, follow these steps.
- Click the All Services > Container > Container Registry menu. Navigate to the Service Home page of Container Registry.
- On the Service Home page, click the Repository menu. You will be taken to the Repository List page.
- On the Repository List page, click the resource (Repository) to view detailed information. You will be taken 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.
Category Detailed description Repository status Repository status display - Active: available state
- Deleting: deleting state
- Inactive: state where deletion failed, making it unavailable (only deletion request is possible)
- Editing: state where settings are being modified or sub-resources (images, tags) within the image are being deleted
User Guide Repository usage guide - You can check the commands for using images within the repository via CLI
Delete repository Button to delete the repository Table. Status Information and Additional Functions
- Repository Details page displays the repository’s status information and detailed information, and consists of Details, Tags, Activity History tabs.
Detailed Information
Repository list page lets you view detailed information of the selected resource and edit the information if necessary.
| Category | Detailed description |
|---|---|
| service | Service name |
| Resource Type | Resource Type |
| SRN | Unique resource ID in Samsung Cloud Platform
|
| Resource name | Resource name
|
| Resource ID | Unique resource ID in the service |
| constructor | User who created the repository |
| Creation date and time | Repository creation date and time |
| Editor | User who modified the repository |
| Modification date | Repository modification timestamp |
| Repository name | User-created repository name |
| registry name | Registry name linked to the repository
|
| description | The description entered by the user for the generated repository
|
| image | Link to view the list of stored images in the repository |
| Image scan | Automatic image vulnerability scanning and scan exclusion policy settings for images generated in the repository
|
| Image Pull limit | Policy settings for enabling the image Pull restriction feature and its limit values for images generated in the repository
|
| Image lock status | You can set a lock to prevent deleting or updating any images inside the repository
|
| Delete image tag | Set the automatic image deletion policy for images stored in the repository
|
tag
Repository list page allows you to view the tag information of the selected resource, and to add, modify, or delete it.
| Category | Detailed description |
|---|---|
| Tag list | Tag list
|
Job History
On the Repository list page, you can view the operation history of the selected resource.
| Category | Detailed description |
|---|---|
| Task History List | Resource Change History
|
Delete Repository
To delete a repository, follow these steps.
- Click the All Services > Container > Container Registry menu. Navigate to the Service Home page of Container Registry.
- Click the Repository menu on the Service Home page. You will be taken to the Repository List page.
- Repository List page, click the resource (Repository) to view its details. You will be taken to the Repository Details page.
- On the Repository Details page, click Delete Repository.
- Delete Repository in the popup window, please enter the Repository name.
- If you enter the Repository name correctly, the Confirm button becomes active. Click the Confirm button.
- When the termination is complete, verify on the Repository list page that the resource has been terminated.