I was trying to get some info on environment in C++ but unfortunately,
> Oh no, there's a problem with Runnable!
See https://www.destroyallsoftware.com/talks/the-birth-and-death... on taking this to an "extreme" -- linux, Gimp on X windows, even Chrome -- transpiled and running in a firefox tab.
* Got root in the countainer.
* You "know" where that is mapped to on the host, because it is based on the UID of the container which is set as the hostname.
* You configure a trigger to run a script, using that knowledge.
* Code happens on the host, outside the container.
But, that said, the attack works as specified against docker 0.11.0. Largely because guests do have sysfs mounted at /sys.