Automatically add docker socket with --privileged

Fixes #7841

+1 to separate PR, I'm not really sure what the differences are, but we can work with @crosbymichael to get something.