mkaczanowski / pastebin

Simple, fast, standalone pastebin service
MIT License
155 stars 27 forks source link

Ctrl+C not working #29

Closed ronhanson closed 3 years ago

ronhanson commented 3 years ago

Hi, When running the docker image like :

docker run --network host -it mkaczanowski/pastebin --port 8082

It seems not to respond to SIGINT / Ctrl+C signal, despite the fact rocket ctrlc parameter is set to default.

Note : running the app on Docker for Mac. Maybe related to the fact it does not serve anything or does not seem to work on a Mac.

arielb2 commented 3 years ago

Hi @ronhanson, try "docker kill signal=SIGINT container_name" (control + c), or docker run -it ....., this allows to do a ctrl p + ctrl q

mkaczanowski commented 3 years ago

This works:

docker run --init --network host -it mkaczanowski/pastebin --port 8082