Docker sets the default user to root.
Find out in more detail how to run docker in a "rootless" mode here.