We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
guacamole-init-guacamole-db-1 | /bin/sh: 1: cannot create /init/initdb.sql: Permission denied
I tried adding :rw to the volume, but no luck:
version: "3" services: init-guacamole-db: image: guacamole/guacamole:latest command: ["/bin/sh", "-c", "test -e /init/initdb.sql && echo 'init file already exists' || /opt/guacamole/bin/initdb.sh --postgres > /init/initdb.sql" ] volumes: - dbinit:/init:rw
The text was updated successfully, but these errors were encountered:
FYI I got around it by adding user: 0:0 to docker-compose. Not sure it's the best approach, but it worked.
user: 0:0
version: "3" services: init-guacamole-db: image: guacamole/guacamole:latest user: 0:0 command: ["/bin/sh", "-c", "test -e /init/initdb.sql && echo 'init file already exists' || /opt/guacamole/bin/initdb.sh --postgres > /init/initdb.sql" ] volumes: - dbinit:/init:z
Sorry, something went wrong.
No branches or pull requests
guacamole-init-guacamole-db-1 | /bin/sh: 1: cannot create /init/initdb.sql: Permission denied
I tried adding :rw to the volume, but no luck:
The text was updated successfully, but these errors were encountered: