# Docker processes running as non-root? Any way to specify user?

**URL:** <https://meta.discourse.org/t/docker-processes-running-as-non-root-any-way-to-specify-user/27581>\
**Category:** Product Support\
**Tags:** docker\
**Created:** [Abril 15, 2015, 3:15am UTC](https://meta.discourse.org/t/docker-processes-running-as-non-root-any-way-to-specify-user/27581 "2015-04-15T03:15:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [Abril 15, 2015, 4:12am UTC](https://meta.discourse.org/t/docker-processes-running-as-non-root-any-way-to-specify-user/27581/2 "2015-04-15T04:12:17Z")

</div>

They’re actually running as a namespaced UID. The processes inside the container see UID 1000, but it’s actually a different UID 1000 from the host filesystem.

The actual starting command is run as `sudo -E -u discourse bla bla bla`, and `discourse` in the container gets the first “free” user UID, which is 1000.

---

_[View the full topic](https://meta.discourse.org/t/docker-processes-running-as-non-root-any-way-to-specify-user/27581)._
