| От | Tom Lane |
|---|---|
| Тема | Re: postgres and initdb not working inside docker |
| Дата | |
| Msg-id | 2371774.1653586183@sss.pgh.pa.us обсуждение |
| Ответ на | postgres and initdb not working inside docker (Roffild <roffild@hotmail.com>) |
| Ответы |
Re: postgres and initdb not working inside docker
|
| Список | pgsql-hackers |
Roffild <roffild@hotmail.com> writes:
> postgres and initdb not working inside docker.
> chmod 755 always for a mounted volume inside docker.
This patch will never be accepted. You don't need it if you take the
standard advice[1] that the Postgres data directory should not itself
be a mount point. Instead, make a subdirectory in the mounted volume,
and that can have the ownership and permissions that the server expects.
regards, tom lane
[1] https://www.postgresql.org/message-id/12168.1312921709%40sss.pgh.pa.us
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера