<p>When I <a href="https://i.stack.imgur.com/ZkdAP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZkdAP.png" alt="deploy"></a> a Docker image to <a href="https://cloud.google.com/kubernetes-engine/" rel="nofollow noreferrer">Kubernetes</a> </p>

<p>I get this permission denied error <a href="https://i.stack.imgur.com/qV0YH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qV0YH.png" alt="enter image description here"></a></p>

<p>I'm using <a href="https://cloud.google.com/container-registry/" rel="nofollow noreferrer">Google Container-Registry/</a> to store docker image that was build with <a href="https://cloud.google.com/cloud-build/" rel="nofollow noreferrer">cloud build</a>
<a href="https://i.stack.imgur.com/nBnJv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nBnJv.png" alt="enter image description here"></a></p>

<p>This totally looks like <code>backend</code> doesn't have 'execute' permissions in the container.</p>

<p>On your Dockerfile just try adding it execute permissions. Something like this:</p>

<pre><code>RUN chmod 755 /backend
</code></pre>

<p>Hope it helps.</p>
