I was never under the impression that docker was secure or even claimed to have security (do they?). I feel this is a common belief.
For me Docker felt halfway between VirtualBox and Parallels. And VirtualBox had shared folder breakout exploits as far back as 2007.