check if the daemon is run as root on startup

This PR makes Docker throw an error if the daemon isn't started as root.

Fixes #5366