First of. Are you sure that the file is available in the work directory of the container?
Try full path and in "array"
CMD ["/full/path/to/start_script.sh"]
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi Everyone,
I am working on MAC OS and I am trying to run a script from my app container but I am ending up with persmission denied after I run compose-build up.
This is is the line :
CMD ./start_script.sh
If anyone can give me any help regrading this I very thankfull.
Thank you very much in advance.
Please or to participate in this conversation.