By Bluecewe
In the DigitalOcean Kubernetes service, is there any way to use container images from private Docker registries? For instance, using images from AWS Elastic Container Registry (ECR). There’s Kubernetes documentation about this general topic, but I was not able to identify a method which could work in the context of DigitalOcean Kubernetes. Any help would be much appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there, I did it on DO with default k8s way https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
Look at Helm charts (package management for Kubernetes solution sets).
An example of setting up a registry on K8s can be seen here in step 3: https://www.katacoda.com/javajon/courses/kubernetes-serverless/openfaas
A UI can be added to this using the above headless registry: https://medium.com/quiq-blog/docker-registry-ui-874c890d2c9b
You can also utilize registry vendors and their community editions that offer container registries as a plugin (container registries are just one type of registry) to their wide array of registry solutions.
https://github.com/helm/charts/tree/master/stable/sonatype-nexus https://github.com/helm/charts/tree/master/stable/artifactory
Later, you may also want to use these solutions for hosting Helm charts, jars, npm dependencies, etc.
Also:
A large HA enterprise option is Quay that can run privately on K8s. Has very nice account and staging features and also support Helm chart repositories.
Add a security scanner to the registry with Clair.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.