stop docker image from exiting code example Example: stop docker image from exiting docker run -t -d <image> <command>