1

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

John Balvin Arias
  • 2,632
  • 3
  • 26
  • 41

1 Answers1

2

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.

Rico
  • 58,485
  • 12
  • 111
  • 141
  • now I get another error :C https://stackoverflow.com/questions/52489347/how-to-create-a-binary-that-contains-zoneinfo-zip but is related to go binary :( – John Balvin Arias Sep 25 '18 at 01:24