Containers are great for isolating trusted applications from one another to ease deployment, but using them for multi-tenant security is ill advised.
Since all containers share the same kernel, any local privilege escalation vulnerability in Linux can be used to escape the container. Such vulnerabilities are much more common than vulnerabilities in mature hypervisors, so virtualization is the safer choice.