docker
docker copied to clipboard
Bug in the script "wait-for-manager.sh"
When I try to mount /var/lib/postgresql/data from worker to a local host directory in my docker-compose.yml it throws the exeption:
chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
Possible solution is to change the script "wait-for-manager.sh" like that:
set -e
until test -f /healthcheck/manager-ready ; do
>&2 echo "Manager is not ready - sleeping"
sleep 1
done
>&2 echo "Manager is up - starting worker"
exec "/docker-entrypoint.sh" "postgres"
citus version: 9.4.1 postgres version: 12