# add this at the end of your entrypoint file # to keep the container running and not exit directly set -x while $1 do echo "Press [CTRL+C] to stop.." sleep 5 echo "My second and third argument is $2 & $3" done