[英]Kubernetes-Helm Charts pointing to a local docker image
I'm playing around wiht minikube and I have a config in my values.yaml
defined like this我玩弄室内用minikube和我在一个配置
values.yaml
这样定义
image:
repository: mydocker.jfrog.io/mysql
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我希望它指向一个本地
mysql/docker/dockerfile
映像,该映像位于本地mysql/docker/dockerfile
我不确定语法是什么在文档中找不到它
Check the list of images on your local machine with docker image ls
.使用
docker image ls
检查本地机器上的图像列表。 Let's say rajesh12/mysql
is the image you want to use:假设
rajesh12/mysql
是您要使用的图像:
image:
repository: rajesh12/mysql
This is a late reply.这是一个迟到的回复。 But I solved it by this way...
但是我是这样解决的...
image:
registry: <docker_username>
name: <docker_image_name>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.