You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running via docker command line, it does not shut down when I press "CTRL-C".
docker run --name=mail --rm -p "1080:80" -p "25:25" djfarrelly/maildev
I have to type:
docker rm -f mail
To force it to shut down.
Adding
process.on('SIGINT', process.exit); // Handle ctrl-c when running via docker run
process.on('SIGTERM', process.exit); // Handle when we docker rm the container