<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtiit</author_name>
  <author_url>https://blog.hatena.ne.jp/mtiit/</author_url>
  <blog_title>(O+P)ut</blog_title>
  <blog_url>https://www.mtioutput.com/</blog_url>
  <categories>
    <anon>DevOps</anon>
    <anon>DevOps-Kubernetes</anon>
  </categories>
  <description>やりたいこと 以下のようにKubernetes/Docker経由で中に入れないコンテナに入りたい。 # 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…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mtioutput.com%2Fentry%2Fdocker-cantsh-error&quot; title=&quot;【Kubernetes/Docker】exec: sh : executable file not found in $PATHとなっているコンテナの中に入る - (O+P)ut&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/m/mtiit/20191108/20191108224019.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-01 18:21:00</published>
  <title>【Kubernetes/Docker】exec: sh : executable file not found in $PATHとなっているコンテナの中に入る</title>
  <type>rich</type>
  <url>https://www.mtioutput.com/entry/docker-cantsh-error</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
