Yes, docker is immune to vulnerabilities because containers.
If the hypervisor (Xen!) running underneath your container-Linux is vulnerable, the attacker can get access to your virtualized OS and circumvent any container isolation.
https://medium.com/@fun_cuddles/docker-breakout-exploit-anal...