Docker Community Forums

Share and learn in the Docker community.

How can send kill -USR1 <nginx pid> command to nginx which is running on host machine from docker container

build
docker

(Strangepanther) #1

Hi,

I need log rotation command (kill -USR1 cat master.nginx.pid) to nginx which is running on host machine from container running inside docker.


(Rik) #2

ssh to the host and run the command?