Context
By default, the Docker Engine API sends the signal SIGKILL to the root process of the container. But the /kill endpoint (see documentation) can accept a signal query parameter, such that you could send signals like SIGINT, or more interestingly: SIGHUP or SIGUSR1.
Feature Request
The operation kill sends by default the signal SIGKILL just as before. But let's introduce operations kill.<SIGNAL NAME> so that the agent can extract the signal name from the operation string and pass it as a query parameter to the /kill endpoint.
Context
By default, the Docker Engine API sends the signal
SIGKILLto the root process of the container. But the/killendpoint (see documentation) can accept asignalquery parameter, such that you could send signals likeSIGINT, or more interestingly:SIGHUPorSIGUSR1.Feature Request
The operation
killsends by default the signalSIGKILLjust as before. But let's introduce operationskill.<SIGNAL NAME>so that the agent can extract the signal name from the operation string and pass it as a query parameter to the/killendpoint.