# 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:** [April 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:** 6

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [September 22, 2015, 11:23pm UTC](https://meta.discourse.org/t/docker-processes-running-as-non-root-any-way-to-specify-user/27581/6 "2015-09-22T23:23:28Z")

</div>

I think you are getting tripped by the fact that UIDs in the container live in a world unto themselves.

The user running Discoruse is “discourse” but since this discourse user does not exist at all on the host, on the host the UID will map to the user on the host with the same UID.

To circumvent this weird we could possibly dedicate a range of UIDs in both host and image and have launcher take care of creating parity.

---

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