John Balvin Arias
John Balvin Arias

Reputation: 2886

Permission Denied when deploying docker image to Kubernetes Engine

When I deploy a Docker image to Kubernetes

I get this permission denied error enter image description here

I'm using Google Container-Registry/ to store docker image that was build with cloud build enter image description here

Upvotes: 1

Views: 984

Answers (1)

Rico
Rico

Reputation: 61541

This totally looks like backend doesn't have 'execute' permissions in the container.

On your Dockerfile just try adding it execute permissions. Something like this:

RUN chmod 755 /backend

Hope it helps.

Upvotes: 2

Related Questions