简体   繁体   English

Helm Install可以从dockerfile创建容器吗?

[英]Can a Helm Install create a container from a dockerfile?

Trying to understand the relationship between Helm and Docker containers. 试图了解Helm和Docker容器之间的关系。

Can a Helm Install create a container from a dockerfile? Helm Install可以从dockerfile创建容器吗?

No. A helm chart is a templated set of kubernetes manifests. 不。掌舵图是一组模板化的kubernetes清单。 There will usually by a manifest for a Pod, Deployment, or Daemonset. 通常会有一个Pod,Deployment或Daemonset的清单。 Any of those will have a reference to a docker image (either hard coded or a parameter). 其中任何一个都会引用docker镜像(硬编码或参数)。 That image will usually be in a container registry like dockerhub. 该图像通常位于像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. 您需要使用docker文件构建映像,将其推送到注册表,在helm图表中引用此图像,然后安装或更新helm。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从 Azure 容器注册表中的映像创建 Dockerfile? - How can I create a Dockerfile FROM an Image in Azure Container Registry? 如何创建 Dockerfile 为现有的 jenkins 容器安装 do.net sdk - How Can I create Dockerfile that install dotnet sdk for existing jenkins container Docker:无法从 dockerfile 安装 Python 库,尽管可以从容器的 Z456941C98B7E418 中手动安装它们 - Docker: unable to install Python libraries from dockerfile, though they can be installed manually from within the container's shell Dockerfile 与从容器创建映像 - Dockerfile vs create image from container 从 NiFi Docker 容器创建一个 Dockerfile - Create a Dockerfile from NiFi Docker Container 如何使用 dockerfile 安装 kubectl 和 helm? - How to install kubectl and helm using dockerfile? 创建映像(Dockerfile)以在 Windows 容器中安装 MS Project - Create an image (Dockerfile) to install MS Project in windows container 由 Dockerfile 的 ENTRYPOINT 指令运行的 shell 脚本可以访问 helm chart 设置的容器环境变量吗? - Can a shell script run by the ENTRYPOINT directive of a Dockerfile have access to the container environment variable set by helm chart? 无法从Dockerfile构建容器 - Can't build a container from the Dockerfile 无法使用 Dockerfile 在 docker 容器中安装包 - Can't install packages in docker container using Dockerfile
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM