Manage 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 underneath.
Create Repository
To create a repository, follow the steps below.
- All Services > Container > Container Registry Click the menu. Go to the Service Home page of Container Registry.
- Service Home page, click the Repository menu. Navigate to the Repository list page.
- Click the Repository List page’s Create Repository button. It navigates 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.
- Enter the required information on the Create Repository page and select the detailed options.
- Service Information Input Enter or select the required information in the area.
Category Required or notDetailed description Registry Name Required Select the registry name to create the repository - If no registry has been created, you can create a new one via the Create New button
Repository Name Required Name of the repository to create - Enter 3 to 30 characters using lowercase English letters, numbers, and the special character (
-) (the start and end must be lowercase English letters or numbers)
Table. Repository Service Information Input Items - Repository Basic Policy Input Enter or select the required information in the area.
Category RequiredDetailed description Image Scan Option Automatic scanning of image vulnerabilities generated in the repository and setting scan exclusion policies - Ability to set a default scan policy applied when an image is created in the repository
- If automatic scanning is set to Enabled, the image’s vulnerabilities are automatically checked when the image is pushed. In this case, the vulnerability scanning cost is charged
- If the scan exclusion policy is set to Enabled, you can specify the inspection targets and vulnerabilities to exclude during image scanning
- Option to exclude Language Package checks, Secret checks, and vulnerabilities without a Fix Version
- Excludable vulnerabilities: you can select one of the following levels
- Exclude vulnerabilities at or below the (None / Unknown / Negligible / Low / Medium / High / Critical) level
Image Pull Restriction Option Policy settings for using the image Pull restriction feature generated 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 you set the unscanned image Pull restriction to Enabled, pulling images that have not been vulnerability scanned is not allowed
- If you set the vulnerable image Pull restriction policy to Enabled, pulling images is not allowed when Critical or High level vulnerabilities exceeding the entered value are found. The 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
- If Enabled is selected, vulnerabilities without a Fix Version (when there is no patch version for the vulnerable package/library) are excluded from the Pull restriction policy
Image lock status Option You can set a lock to prevent deleting or updating any images inside the repository - If the repository’s image lock status is Lock, the individual image Lock/Unlock functions within the repository are disabled
- Changing the image lock status of a repository that is in Lock state to Unlock enables the individual image Lock/Unlock functions
- Pushing new images is allowed
Image Tag Deletion Option You can set an automatic image deletion policy for images stored in the repository - If you select Enabled for policy activation, the image deletion policy is applied
- Untagged Image automatic deletion, Old Image automatic deletion items set to Enabled will apply the respective image deletion policies
- Enter an automatic deletion period in the policy; the image will be automatically deleted after the specified period has passed since its initial push
- For detailed information on image tag deletion, see Image Tag Deletion Policy Management
Table. Repository Basic Policy Input Items - Additional Information Input area, please enter or select the required information.
Category Required or notDetailed description Explanation Select Repository description - Enter repository description
Tag Select 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
- Service Information Input Enter or select the required information in the area.
- Repository default policy input items are used for the default (initial) policy settings of Images created in the Repository. (Acts as a policy setting template applied when creating an Image)
- This setting can be changed on the detail view screen after creating a Repository, and from the Image created after changing the Repository default policy input items, it will be set to the changed policy. The Image policy created before the change will not be changed.
- The default policy set on the Image can be modified in the Image detail screen.
- Summary Check the detailed information and estimated billing amount generated in the panel, and click the Create button.
- When creation is complete, check the created resources on the Repository List page.
Check repository detailed information
Repository service can view and edit the full resource list and detailed information. Repository Detail page consists of Detailed Information, Tags, Work History tabs.
To view repository details, follow the steps below.
- All Services > Container > Container Registry Click the menu. Navigate to the Service Home page of Container Registry.
- Click the Repository menu on the Service Home page. Navigate to the Repository list page.
- Repository List page, click the resource (Repository) for which you want 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 Display repository status - Active: Available state
- Deleting: Deleting state
- Inactive: State not available due to failure during deletion (only deletion request possible)
- Editing: State where settings are being modified or sub-resources (images, tags) within the image are being deleted
User Guide Repository Usage Guide - Commands to use images within the repository via CLI can be checked
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 allows you to view detailed information of the selected resource and, if necessary, edit the information.
| 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 |
| Creator | User who created the repository |
| Creation Time | Repository Creation Time |
| Editor | User who modified the repository |
| Modification Date/Time | Repository Modification Date/Time |
| Repository Name | Repository name created by the user |
| Registry Name | Name of the registry to which the repository is connected
|
| Description | User-entered description for the generated repository
|
| Image | Link to view list of stored images in repository |
| Image Scan | Automatic image vulnerability scanning generated in repository and scan exclusion policy settings
|
| Image Pull Restriction | Policy settings for whether to use the image Pull restriction feature and its limit values for images generated in the repository
|
| Image lock status | Lock can be set to prevent deleting or updating any images inside the repository
|
| Image Tag Deletion | Set automatic deletion policy for images stored in the repository
|
Tag
On the Repository list page, you can view the tag information of the selected resource, and you can add, modify, or delete it.
| Category | Detailed description |
|---|---|
| Tag List | Tag List
|
Work History
You can view the operation history of the selected resource on the Repository list page.
| Category | Detailed description |
|---|---|
| Work History List | Resource Change History
|
Delete Repository
To delete a repository, follow the steps below.
- All Services > Container > Container Registry Click the menu. Navigate to the Service Home page of Container Registry.
- On the Service Home page, click the Repository menu. Go to the Repository list page.
- Click the resource (Repository) for which you want to view detailed information on the Repository List page. 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 will be enabled. Click the Confirm button.
- If termination is completed, check on the Repository list page whether the resource has been terminated.