PostDock
PostDock copied to clipboard
postgres home directory missing in barman
$ docker run -it --rm postdock/barman:1.14-barman24-postgres11 stat /home/postgres
stat: cannot stat '/home/postgres': No such file or directory
And since the crontab tries to cd /home/postgres
, this does not run /usr/local/bin/barman_docker/wal-receiver.sh
.
Should -m
be provided to useradd
in the Dockerfile?
🤔 better question is why it needs to do cd in there