Run Commands From Host on Container

“We would like to harden our Docker Image and remove redundant software from it. Our Devs and Ops asked to keep some Linux tools used for debugging on the containers running on our Kubernetes Prod environment. \r\n\r\nI’ve read this post:\r\n<https://www.digitalocean.com/community/tutorials/how-to-inspect-kubernetes-networking>\r\n\r\nAnd it made me wonder, is it possible to run commands that exist only on the host, on a container (which those commands have been removed from)?\r\n\r\nIf so is there a difference between commands that have been removed from the container than ones that the user don’t have permissions to run?\r\n\r\nP.S.\r\nHow do the tools in the above mentioned post work?\r\n\r\nThanks for the help! :)\r\n” <a href=““https://security.stackexchange.com/questions/237066/is-it-possible-to-run-commands-that-exist-only-on-the-host-on-a-docker-container"">— “whiteberryapps”