docker-languagetool icon indicating copy to clipboard operation
docker-languagetool copied to clipboard

Container is not receiving Ctrl-C signals

Open r-31415 opened this issue 3 years ago • 0 comments

First of all, thank you for providing this Dockerfile. The app in the container is working well, however, it is not receiving signals (in particular, Ctrl-C is ignored), so it is not possible to shutdown the container. As a workaround, it is necessary to run docker stop <name> , which is not so convenient.

I was wondering if it is possible to change the way in which languagetool is launched so that the server can be shutdown gracefully after pressing Ctrl-C. I tried well-known approaches (e.g. adding --init to the docker run command or building the image using Tini), however, docker build . throws warnings for Illegal reflective access.

Just in case it is relevant, I'm following the most straightforward instructions on Ubuntu 22.04.1:

docker pull erikvl87/languagetool
docker run --rm -p 8010:8010 erikvl87/languagetool

Thanks

r-31415 avatar Aug 16 '22 05:08 r-31415