I just started using Docker on Ubuntu 16.04 LTS version. Below are steps -
- Created Docker file
FROM nimeshs/hello:latest
ADD start.sh /
ENTRYPOINT [ “/start.sh” ]
CMD [ “shell” ]
-
start.sh file
#!/bin/sh
echo “my new world on docker” -
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.