ESDLMapEditorESSIM / docker-toolsuite

All information to install, setup and run the ESDL MapEditor and ESSIM toolsuite on your local machine
2 stars 5 forks source link

File permissions mounted file in Docker container MacBook #3

Closed edwinmat closed 2 years ago

edwinmat commented 3 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

edwinmat commented 3 years ago

Executing

docker exec -it ... /bin/bash

and then

chmod 700 init-database.sh
./init-datbase.sh

can be used as a workaround