# Default UID of Docker Image

**URL:** <https://discuss.elastic.co/t/default-uid-of-docker-image/131593>\
**Category:** Elasticsearch\
**Created:** [May 12, 2018, 9:06pm UTC](https://discuss.elastic.co/t/default-uid-of-docker-image/131593 "2018-05-12T21:06:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbolino](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kbolino](https://discuss.elastic.co/u/kbolino)\
**Post date:** [May 12, 2018, 9:06pm UTC](https://discuss.elastic.co/t/default-uid-of-docker-image/131593/1 "2018-05-12T21:06:40Z")

</div>

On many (most?) Linux systems, /etc/login.defs sets UID\_MIN to 1000. This means that, on many systems, there is going to be a real, non-system user with UID 1000. It seems to me like the default should be something less likely to conflict with existing user accounts, preferably in the system user range. Ditto for default GID.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 9, 2018, 9:06pm UTC](https://discuss.elastic.co/t/default-uid-of-docker-image/131593/2 "2018-06-09T21:06:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
