<p>We tried attaching a shell to container inside "Traefik" Pod using following command but it didn't work. Just FYI, we used helm chart to install Traefik on our k8s cluster.  </p>

<p><code>kubectl exec -it &lt;traefik Pod name&gt; -- /bin/sh</code> </p>

<p>tried this too but no success -  <code>kubectl exec -it &lt;traefik Pod name&gt; -- /bin/bash</code></p>

<p>Any help in this context will be appreciated. Thanks. </p>

Sunny Goel
<p>Traefik 1.7 uses a <a href="https://github.com/containous/traefik/blob/master/Dockerfile" rel="nofollow noreferrer"><code>FROM scratch</code></a> container image that has only the Traefik executable and some support files. There is no shell. You would have to switch to the <code>-alpine</code> variant of the image. For 2.x it looks like they use Alpine by default for some reason.</p>
