<p>I am creating a egress-operator. I have a pod <code>egress-operator-controller-manager</code> created from <a href="https://github.com/monzo/egress-operator/blob/master/Makefile" rel="nofollow noreferrer">makefile</a> by command <code>make deploy IMG=my_azure_repo/egress-operator:v0.1</code>. The pod is failing , its showing error in pod description as:</p>
<pre><code>  State:          Waiting
  Reason:       RunContainerError
  Last State:     Terminated
  Reason:       StartError
  Message:      failed to create containerd task: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: &quot;/manager&quot;: stat /manager: no such file or directory: unknown
  Failed     44s (x3 over 59s)  kubelet  Error: failed to create containerd task: 
  OCI runtime create failed: container_linux.go:380: starting container process caused: 
  exec: &quot;/manager&quot;: stat /manager: no such file or directory: unknown
</code></pre>
<p>I suspect that in <code>manager.yaml</code>, under <code>command:</code> <a href="https://github.com/monzo/egress-operator/blob/2bb1a423cc8d6c556d5a746dabf401fa59754573/config/manager/manager.yaml#L51" rel="nofollow noreferrer">/manager</a> is executed.<br/>Can someone let me know what is going wrong in this <code>manager.yaml</code> and whether <a href="https://github.com/monzo/egress-operator/blob/2bb1a423cc8d6c556d5a746dabf401fa59754573/config/manager/manager.yaml#L51" rel="nofollow noreferrer"><code>/manager</code></a> is valid under <code>command:</code> in deployment.yaml</p>
<p><strong>Debugging UPDATE</strong> <br/>
Instead of running Dockerfile, now I just build and run <code>image_azure_repo/egress-operator:v0.1</code> locally (on same ubuntu 18 VM), When I try to login with: <code>docker exec -it &lt;container_id&gt; /bin/bash</code>, I am getting error :</p>
<pre><code>OCI runtime exec failed: exec failed: container_linux.go:380: 
starting container process caused: exec: &quot;/bin/bash&quot;: stat /bin/bash: 
no such file or directory: unknown
</code></pre>
<p>This is similar error what I see in pod description. Instead of <code>/bin/bash</code> , I also tried <code>docker exec</code> with <code>/bin/sh</code> and only <code>sh</code> ; Its giving same error</p>

solveit
<p>This should be a mismatch for libc.</p>
<p>Golang uses glibc by default while alpine uses musl.</p>
<p>You could try those to fix it:</p>
<ol>
<li>Use a base image using glibc</li>
<li>Install glibc in your alpine image</li>
</ol>
