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