Docker Container Escape by Exploiting Shared Namespaces

What are namespaces? How can we exploit shared namespaces to escape from a docker container?