Allow arbitrary --user values (mostly)#253
Conversation
One special case is that `initdb` _requires_ the current user to exist in `/etc/passwd`, but running PostgreSQL itself does not require that.
|
The following comment from docker-library/mysql#161 (comment) also applies here:
|
|
With regards to my comment of it breaking people that are taking advantage of being |
|
We'll probably want to add some docs about the limitations observed here. |
- `bash`: 4.4.7 - `golang`: 1.8rc2 - `haproxy`: add Lua support (docker-library/haproxy#38) - `postgres`: (mostly) arbitrary `--user` support (docker-library/postgres#253) - `python`: 3.4.6
|
FWIW this did cause an issue for us, as a The How to extend this image section in the docs stll doesn't explicitly say that |
|
Excellent idea, thanks @shane-axiom ❤️ I've filed a PR at docker-library/docs#848 👍 |
Travis CI & other builds were breaking due to docker-library/postgres#253
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: TryGhost/docker-library-ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: TryGhost/docker-library-ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: TryGhost/docker-library-ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: TryGhost/docker-library-ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
If permissions problems exist, they should be overcome properly. For examples see: LINK: docker-library/rabbitmq#60 LINK: docker-library/cassandra#48 LINK: docker-library/mongo#81 LINK: redis/docker-library-redis#48 LINK: docker-library/mysql#161 LINK: MariaDB/mariadb-docker#59 LINK: docker-library/percona#21 LINK: TryGhost/docker-library-ghost#54 LINK: docker-library/postgres#253 As suggested by @tianon LINK: docker-library/official-images#3724 (comment) This is part of an effort to make FluentD part of Docker's Official Images. Signed-off-by: Lee Jones <lee.jones@linaro.org>
This comment has been minimized.
This comment has been minimized.
|
This PR isn't (and really can't) be the cause of PostgreSQL not working on Windows -- it doesn't change anything about how If you want to bypass our behavior entirely, it should be trivial to do so via |
This comment has been minimized.
This comment has been minimized.
|
@willemavjc, try this comment: #558 (comment). tldr: it is not possible on Docker for Windows for Postgres to use a shared folder to the host |

One special case is that
initdbrequires the current user to exist in/etc/passwd, but running PostgreSQL itself does not require that.As discussed over in #93 (comment).
See also docker-library/rabbitmq#60, docker-library/cassandra#48, docker-library/mongo#81, redis/docker-library-redis#48, docker-library/mysql#161, MariaDB/mariadb-docker#59, docker-library/percona#21, and TryGhost/docker-library-ghost#54.
Closes #46
Closes #116
Closes #206
Closes #251
Ref #28