First off if you don't understand any of the shell commands I use try and use this website to explain them: https://explainshell.com/
Docker namespace remapping
Explaination
So, I found this article, and it seems to have some pretty decent ideas for trying to harden docker. I was mainly