nsenter! $ docker inspect –f ‘{{.State.Pid}}’ your_container_name —> you get a number 123456 $ nsenter -t 123456 -n YOURCOMMAND