Closed HatemJerbi closed 8 years ago
Can we just add set -e
to Dockerfile directly?
Would be preferable since container is really simple and I'd like to keep everything in single file while possible.
sorry you can't fix the problem with set -e in dockerfile CMD. because we must use the exec form ( look to ENTRYPOINT section in https://docs.docker.com/reference/builder/ )
Didn't know that, thanks!
use ENTRYPOINT exec form to receive Unix signals
CTRL+C stop the container after this modification