Closed edwinmat closed 2 years ago
When trying to run the software stack on a MacBook an error occurs in step 1 of the installation instructions.
postgres | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-database.sh postgres | /usr/local/bin/docker-entrypoint.sh: /docker-entrypoint-initdb.d/init-database.sh: /bin/bash: bad interpreter: Permission denied
It appears that the init-database.sh script is mounted with file access permission 600 and therefore cannot be executed
Executing
docker exec -it ... /bin/bash
and then
chmod 700 init-database.sh ./init-datbase.sh
can be used as a workaround
When trying to run the software stack on a MacBook an error occurs in step 1 of the installation instructions.
postgres | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-database.sh postgres | /usr/local/bin/docker-entrypoint.sh: /docker-entrypoint-initdb.d/init-database.sh: /bin/bash: bad interpreter: Permission denied
It appears that the init-database.sh script is mounted with file access permission 600 and therefore cannot be executed