Command and args failed

Here is the related part of my Dockerfile

ENTRYPOINT bokeh serve

in kubernetes yaml file I did:

     command: ["bokeh"]
     args: [ "serve", " --allow-websocket-origin='*'"," --port=5006"," --address="," --num-procs=1"," /app"]

but pod failed.
What mihht the problem be?


I would check the foloowing:

  1. check the /app permissions inside the container (or just add to the Dockerfile the following):
RUN chmod +x /app
  1. create a bash script to run your application with environment variables and make that bash file the entrypoint
  2. send pod logs output (kubectl logs -f ) and pod describe output.