Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
0.9.14
-
None
-
None
Description
When starting a docker image, I mount a directory with a guacamole.properties and user-mapping.xml:
docker run --name some-guac --link some-guacd:guacd -p 8080:8080 -v $PWD/settings:/etc/guacamole guacamole/guacamole
However, when the instance starts up, it immediately fails because there is no mysql, postgres, or LDAP authentication.
FATAL: No authentication configured
-------------------------------------------------------------------------------
The Guacamole Docker container needs at least one authentication mechanism in
order to function, such as a MySQL database, PostgreSQL database, or LDAP
directory. Please specify at least the MYSQL_DATABASE or POSTGRES_DATABASE
environment variables, or check Guacamole's Docker documentation regarding
configuring LDAP and/or custom extensions.
Ideally, there would be a check in guacamole-client/guacamole-docker/bin/start.sh to see if user-mapping.xml exists in $GUACAMOLE_HOME and allow it to proceed.
Attachments
Issue Links
- relates to
-
GUACAMOLE-281 GUACAMOLE_HOME not taken into account during Docker image sanity checks
- Resolved