docker run --entrypoint sh code example Example: docker run with entrypoint sudo docker run -it --entrypoint /bin/bash [docker_image]