Create and manage repository
Create repository
A repository is a storage location within a registry for storing container images. Follow the steps below to create a repository in the Container Registry service.
-
Go to the KakaoCloud Console > Container Pack > Container Registry menu.
-
In the Repository menu, click the [Create repository] button.
-
Enter the required information and click the [Create] button.
Field Description Visibility Set whether the repository is public or private
- Private: Access restricted based on IAM and repository permissions
- Public: Anyone with the URI can pull imagesRepository name Enter the name of the repository (cannot be modified later) Description (optional) Description of the repository
- Limited to 100 charactersTag overwrite Set whether to allow overwriting images with the same tag name in the repository
- Enabled: Overwriting allowed
- Disabled: Overwriting not allowedImage scan Configure whether to scan images automatically or manually when pushed
- Auto: Images are scanned automatically upon push
- Manual: Images must be scanned manually after push[Create] button Click to create the repository -
Confirm that the repository has been created in the Repository menu.
Manage repository
You can manage repositories in the Container Registry service as follows.
View repository list
You can view a list of currently created repositories along with basic information.
-
Go to the KakaoCloud Console > Container Pack > Container Registry menu.
-
In the Repository menu, check the list of created repositories.
Field Description Name Name of the repository Description Description of the repository Images Number of images stored in the repository Image scan Image scan configuration for the repository Tag overwrite Tag overwrite setting for the repository Visibility Repository visibility
- If set to public, anyone with the URI can pull imagesLast modified Date and time the repository was last modified
View repository details
You can view detailed information about a repository.
-
Go to the KakaoCloud Console > Container Pack > Container Registry menu.
-
In the Repository menu, select the repository you want to view.
-
View the details on the repository detail page.
Field Description Visibility Visibility of the repository
- If public, anyone with the URI can pull imagesImage scan Whether image scan is set to automatic or manual Tag overwrite Whether tag overwrite is enabled or disabled Features Permission settings, commands
- For more information, refer to Configure repository permission and View image push/pull command
View repository usage history
You can view the usage history of the repository, such as creation, setting changes, image pushes/pulls.
- Go to the KakaoCloud Console > Container Pack > Container Registry menu.
- In the Repository menu, select the repository to view.
- Open the Usage history tab to view the details.
Edit repository
You can modify certain settings of a repository, including visibility, description, tag overwrite, and image scan configuration.
- Go to the KakaoCloud Console > Container Pack > Container Registry menu.
- Go to the Repository menu.
- Click the [More] icon next to the repository and select Edit.
- Modify the settings in the Edit repository window and click [Save].
Configure repository permission
If your IAM role includes project admin privileges, you can assign repository permissions to other users.
There are two roles:
- Repository member: Can push and pull images
- Repository viewer: Can only pull images
Users in the same organization but not part of the project can access the repository using tools like Docker CLI via an access key issued from another project, but they cannot access it via the console.
- Go to the KakaoCloud Console > Container Pack > Container Registry menu.
- In the Repository menu, select the repository to configure.
- Click the [Permission settings] button at the top right.
- In the Permission settings popup, add users and assign roles, then click [Confirm].
View image push/pull command
You can view Docker commands related to authentication, image push, and image pull.
- Go to the KakaoCloud Console > Container Pack > Container Registry menu.
- In the Repository menu, select the repository.
- Click the [View command] button at the top right.
- View the commands in the View command popup.
Set up alerts
You can configure alerts for specific repositories.
Alerts for the Container Registry are supported via the Alert Center.
Delete repository
You can delete repositories that are no longer needed.
- Go to the KakaoCloud Console > Container Pack > Container Registry menu.
- In the Repository menu, select the checkbox for the repository to delete.
- Click the [More] icon > Delete.
- In the Delete repository popup, enter the repository name and click [Delete].