Standard_init_linux.go:175: exec user process caused "no such file or directory"

I just started using Docker on Ubuntu 16.04 LTS version. Below are steps -

  1. Created Docker file

FROM nimeshs/hello:latest

ADD start.sh /

ENTRYPOINT [ “/start.sh” ]
CMD [ “shell” ]

  1. start.sh file
    #!/bin/sh
    echo “my new world on docker”

  2. docker build -t nimeshs/hello .
    4 docker run nimeshs/hello

standard_init_linux.go:175: exec user process caused “no such file or directory”

Seems like start.sh is not added to “/” directory so it was not able to run start script.

Got it working by adding alpine:latest image as base image. As earlier base image was not having shell in that.