指向本地docker映像的Kubernetes-Helm图表 [英] Kubernetes-Helm Charts pointing to a local docker image
本文介绍了指向本地docker映像的Kubernetes-Helm图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在玩minikube,并且在我的values.yaml
中有这样的配置
I'm playing around wiht minikube and I have a config in my values.yaml
defined like this
image:
repository: mydocker.jfrog.io/mysql
我希望它指向位于本地的本地docker镜像mysql/docker/dockerfile
我不确定在文档中找不到它的语法是什么
I want it to point a to a local docker image that lives locally mysql/docker/dockerfile
I'm not sure what the syntax is can't find it in the docs
推荐答案
使用docker image ls
检查本地计算机上的图像列表.假设rajesh12/mysql
是您要使用的图像:
Check the list of images on your local machine with docker image ls
. Let’s say rajesh12/mysql
is the image you want to use:
image:
repository: rajesh12/mysql
这篇关于指向本地docker映像的Kubernetes-Helm图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文