queue work docker exit docker code example
Example 1: docker entrypoint how not finish container
#Extra line added in the script to run all command line arguments
exec "$@";
Example 2: docker exit
Just Stopping the Container
If you want to stop and exit the container, and are in an interactive, responsive shell - press ctrl+d to exit the session. You could as well type the exit command. TL;DR: press ctrl+c then ctrl+d - that means, keep the ctrl key pressed, type a c, and let go of ctrl.