title: Docker ENTRYPOINT using docker run command
body: <p>I am running below command to set entrypoint through command line to start nginx service with this container</p>
  <p>root@server:~#  docker run -it  --entrypoint=&quot;/bin/bash /root/service.sh&quot;  docker-reg.sogeti-aws.nl:5000/ubuntu:v3  bash</p>
  <p>root@server:~# cat /root/service.sh</p>
  <h1>!/bin/bash</h1>
  <p>service nginx start
  while true; do sleep 1d; done</p>
  <p>so is it possible with docker run command or i need to define Dockerfile only</p>