<p>Everytime I try and exec into a pod through the minikube dashboard running alpine linux it crashes and closes the connection with the following error</p>

<pre><code>rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:262: starting container process caused "exec: \"bash\": executable file not found in $PATH"

CONNECTION CLOSED
</code></pre>

<p>Output from the command "kubectl version" reads as follows:</p>

<pre><code>Client Version: version.Info{Major:"1", Minor:"8", 
GitVersion:"v1.8.0", GitCommit:"6e937839ac04a38cac63e6a7a306c5d035fe7b0a", GitTreeState:"clean", BuildDate:"2017-09-28T22:57:57Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", 
GitVersion:"v1.8.0", 
GitCommit:"0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4", 
GitTreeState:"clean", BuildDate:"2017-11-29T22:43:34Z", GoVersion:"go1.9.1", Compiler:"gc", Platform:"linux/amd64"}
</code></pre>

<p>Can anybody please advise? I can run other containers perfectly OK as long as they have BASH not ASH.</p>

<p>Many thanks</p>

prime
<p>Normally Alpine linux doesn't contain bash.
Have you tried executing into the container with any of the following? </p>

<pre><code>/bin/ash

/bin/sh

ash

sh
</code></pre>

<p>so for example <code>kubectl exec -it my-alpine-shell-293fj2fk-fifni2 -- sh</code> should do the job.</p>
