by tln · 7y ago · 0 comments
Because of this escape, giving access to /var/run/docker.sock to regular users is the same as giving them root access.
Also as the article says mounting /var/run/docker.sock is (now, because of this escape) the same as giving that container access to the host system.
docker run -itv /:/host ubuntu chroot /host