简体   繁体   English

Skaffold 在 minikube 中不与 containerd 一起运行

[英]Skaffold doesnt run with containerd in minikube

So I've been looking for documentation, github issues, slack, etc. And can't find some concrete answer regarding if you can use skaffold with containerd inside minikube.所以我一直在寻找文档,github 问题,松弛等。并且找不到关于是否可以在 minikube 中使用带有 containerd 的 skaffold 的具体答案。

 The docker-env command is only compatible with the "docker" runtime, but this cluster was configured to use the "containerd" runtime.

This is the error that I get everytime.这是我每次都会遇到的错误。

running diagnostic on artifacts: computing the size of the Docker context: creating docker context: getting relative tar paths: parsing ONBUILD instructions: retrieving image "node:alpine": getting docker client: getting minikube env: running [/home/user/bin/minikube docker-env --shell none -p minikube --user=skaffold]
 -- stdout: "false exit code 14\n"
 -- stderr: "X Exiting due to MK_USAGE: The docker-env command is only compatible with the \"docker\" runtime, but this cluster was configured to use the \"containerd\" runtime.\n"
 -- cause: exit status 14

Unfortunately there's no support for buildctl or minikube image build yet, see https://github.com/GoogleContainerTools/skaffold/issues/5739不幸的是,尚不支持buildctlminikube image build ,请参阅https://github.com/GoogleContainerTools/skaffold/issues/5739

暂无
暂无

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

相关问题 在没有注册的情况下使用 Minikube 使用 Skaffold - Use of Skaffold using Minikube without registry skaffold 不会在 minikube 中重新加载 golang 代码 - skaffold does not reload golang code in minikube 为什么 skaffold build 工作但 skaffold run 或 skaffold dev 不工作? - Why does skaffold build work but not skaffold run or skaffold dev? 如何修复 minikube - skaffold 本地环境的服务端口? - How to fix service PORT for minikube - skaffold local environment? 有什么方法可以配置 Skaffold 在我的本地 Docker 守护进程而不是 minikube 守护进程上构建图像? - Is there any way to configure Skaffold to build images on my local Docker daemon and not on the minikube's one? 是什么导致传输​​:“拨号 unix /var/run/docker/containerd/docker-containerd.sock: connect: connection denied”? - What causes transport: “dial unix /var/run/docker/containerd/docker-containerd.sock: connect: connection refused”? 了解 Minikube 在 Windows 上的运行方式 - Understand how Minikube on Windows is run 如何在 CLI 中使用 ctr 在 containerd 中运行 docker 图像? - How to run docker images in containerd using ctr in CLI? 泊坞窗:来自守护进程的错误响应:连接错误:desc =“传输:拨打unix:///var/run/docker/containerd/docker-containerd.sock:超时” - docker: Error response from daemon: connection error: desc = "transport: dial unix:///var/run/docker/containerd/docker-containerd.sock: timeout" docker用minikube / kubernetes运行$ PATH问题 - docker run $PATH issue with minikube / kubernetes
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM