Remote root check (not everyone runs docker as root)

(integrated from trunk branch change 224a777 by Nathan Rijksen <n.rijksen@gmail.com>)