Docker Community Forums

Share and learn in the Docker community.

Start application in container

Hi All,

I need to start the application using ENTRYPOINT mentioned in Dockerfile.
Application path in container is : /path/bin/run.sh
ENTRYPOINT [ “sh”, “/path/bin/run.sh”] – While running container its failing
also tried
ENTRYPOINT cd /path/bin/ && ./run.sh —Still not working

If i don’t mention ENTRYPOINT in dockerfile, then i could run the application by logging into container with command: cd /path/bin and ./run.sh

Very new to Docker , please suggest