Why does SIGHUP not work on busybox sh in an Alpine Docker container?
问题 Sending SIGHUP with kill -HUP <pid> to a busybox sh process on my native system works as expected and the shell hangs up. However, if I use docker kill to send the signal to a container with docker kill -s HUP <container> it doesn't do anything. The Alpine container is still running: $ CONTAINER=$(docker run -dt alpine:latest) $ docker ps -a --filter "id=$CONTAINER" --format "{{.Status}}" Up 1 second $ docker kill -s HUP $CONTAINER