[ 
https://issues.apache.org/jira/browse/GUACAMOLE-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16682938#comment-16682938
 ] 

Michael Jumper commented on GUACAMOLE-659:
------------------------------------------

If you want the Docker image to use a {{GUACAMOLE_HOME}} that comes from a 
volume mount (is not entirely derived from environment variables), you need to 
explicitly set {{GUACAMOLE_HOME}}. The Docker image has special handling for 
this variable that copies things in place, applying your volume mount as a 
template.

http://guacamole.apache.org/doc/gug/guacamole-docker.html#guacamole-docker-guacamole-home

See also: GUACAMOLE-281

> Docker Image does not allow default authentication
> --------------------------------------------------
>
>                 Key: GUACAMOLE-659
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-659
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-client
>    Affects Versions: 0.9.14
>            Reporter: Tom Kent
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to