{"blog_url":"https://www.mtioutput.com/","title":"\u3010Kubernetes/Docker\u3011exec: sh : executable file not found in $PATH\u3068\u306a\u3063\u3066\u3044\u308b\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u306b\u5165\u308b","categories":["DevOps","DevOps-Kubernetes"],"type":"rich","width":"100%","published":"2022-02-01 18:21:00","url":"https://www.mtioutput.com/entry/docker-cantsh-error","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Fdocker-cantsh-error\" title=\"\u3010Kubernetes/Docker\u3011exec: sh : executable file not found in $PATH\u3068\u306a\u3063\u3066\u3044\u308b\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u306b\u5165\u308b - (O+P)ut\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u3084\u308a\u305f\u3044\u3053\u3068 \u4ee5\u4e0b\u306e\u3088\u3046\u306bKubernetes/Docker\u7d4c\u7531\u3067\u4e2d\u306b\u5165\u308c\u306a\u3044\u30b3\u30f3\u30c6\u30ca\u306b\u5165\u308a\u305f\u3044\u3002 # kubectl exec -it coredns-xx sh -n kube-system kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead. rpc error: code = 2 desc = oci runtime error: exec failed: container_linu\u2026","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/m/mtiit/20191108/20191108224019.jpg","author_url":"https://blog.hatena.ne.jp/mtiit/","author_name":"mtiit","version":"1.0","height":"190","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"(O+P)ut"}