Trying to understand the relationship between Helm and Docker containers.
Can a Helm Install create a container from a dockerfile?
In order to build the container image, you'll need to use a Dockerfile . A Dockerfile is simply a text-based file with no file extension. A Dockerfile contains a script of instructions that Docker uses to create a container image.
Although Docker is not needed as a container runtime in Kubernetes, it still has a role to play in the Kubernetes ecosystem, and in your workflow. Docker is still going strong as a tool for developing and building container images, as well as running them locally.
No. A helm chart is a templated set of kubernetes manifests. There will usually by a manifest for a Pod, Deployment, or Daemonset. Any of those will have a reference to a docker image (either hard coded or a parameter). That image will usually be in a container registry like dockerhub. You'll need to build your image using the docker file, push it to a registry, reference this image in a helm chart, then install or update helm.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With