Where Should I Store Docker Images for Kubernetes?

0
8
Asked By CuriousCoder92 On

I'm new to Kubernetes and I'm looking for suggestions on the best places to store images for creating containers in a production environment. Should I use Artifactory for storing images and then pull them for the container, or would it be better to keep them in GitHub?

6 Answers

Answered By ImageInnovator65 On

Start simple! You can use Docker Hub, which allows one free private repo and lets you manage multiple images with tags. If you're using GitHub for CI/CD, their container registry could work, although note that private repos aren't free. Otherwise, go with whatever your provider offers or set up your own registry.

Answered By TechieTurtle77 On

If you're running in the cloud, I recommend using the cloud provider's registry like Amazon ECR for AWS or Google Cloud's Artifact Registry. If you're self-hosting, consider using something like Nexus or Harbor.

Answered By RegistryRanger33 On

If you already have Artifactory, definitely use that to store your images!

Answered By SimplicitySeeker29 On

You can create your own registry, but if your images aren't super proprietary, just stick with GitHub or Docker Hub. They are usually the simplest solutions!

Answered By CloudNinja42 On

Not a tricky question at all! Remember, GitHub has its own Docker registry called GitHub Packages or GHCR. You typically don’t need to go for third-party services. If you deploy to AWS or GCP without giving Kubernetes access to GitHub, you can set up a proxy registry to pull images from GHCR.

Answered By DockerDude88 On

You should really use a container registry. Quay is a good option, and all major cloud providers have their own offerings too. I've had success with Nexus as well. Harbor seems to be popular, although we haven't deployed it yet.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.