Manage container images
You can use skopeo
to copy container images from public registries to your private registry within the Mission Control environment.
Skopeo is a command-line utility that allows you to interact with container images and registries.
You can copy images between different registries, inspect remote images, and more.
Storing container images in private registries enhances security by ensuring that your images are scanned and vetted within your controlled environment. Storing images locally also reduces latency and dependency on external networks, improving performance and reliability.
Prerequisites
To copy container images, you need the following:
-
Skopeo installed.
-
Credentials to access the private registry.
-
Access to Mission Control and permissions to manage container images.
Container image tags
Container image tags are available in the following repos:
Copy container images
To copy an image from a public registry to your private registry in Mission Control, do the following:
-
Authenticate to your private registry:
skopeo login <PRIVATE_REGISTRY_HOST>
-
Copy the container to your private registry. The following example uses the DSE registry. Replace the registry path with your target container image registry and tag.
skopeo copy docker://cr.dtsx.io/datastax/dse-server:6.9.0 docker://PRIVATE_REGISTRY_HOST/PRIVATE_REGISTRY_NAMESPACE/dse-server:6.9.0
Verify images
To verify that the image copied successfully to your private registry, you can inspect it:
skopeo inspect docker:/YOUR_PRIVATE_REGISTRY/IMAGE_NAME:TAG
Troubleshoot registry issues
To troubleshoot connection issues, ensure you have network access to both the source and destination registries. If you encounter authentication problems, verify your credentials and permissions for the private registry in Mission Control. For command-related errors, carefully review the error messages and see the Skopeo documentation for more information.