You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
initdb: could not look up effective user ID 1000: user does not exist
107
107
```
108
108
109
-
The two easiest ways to get around this:
109
+
The three easiest ways to get around this:
110
110
111
-
1. bind-mount `/etc/passwd` read-only from the host (if the UID you desire is a valid user on your host):
111
+
1. use the Debian variants (not the Alpine variants) and thus allow the image to use [the `nss_wrapper` library](https://cwrap.org/nss_wrapper.html) to "fake" `/etc/passwd` contents for you (see [docker-library/postgres#448](https://github.com/docker-library/postgres/pull/448) for more details)
112
+
113
+
2. bind-mount `/etc/passwd` read-only from the host (if the UID you desire is a valid user on your host):
0 commit comments