Docker: actually use the invokers UID "everywhere"

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