Dockerfile for Guacamole 1.6.0 with internal or external MariaDB server and MySQL, LDAP, DUO, CAS, OPENID, TOTP, QUICKCONNECT, HEADER and SAML authentication
2in1 because guacamole-server (guacd) and guacamole-client are in the same docker container
Apache Guacamole is a clientless remote desktop gateway. It supports standard protocols like VNC and RDP. Clientless because no plugins or client software are required. Thanks to HTML5, once Guacamole is installed on a server, all you need to access your desktops is a web browser.
Based on the work of Zuhkov zuhkov@gmail.com, aptalca and Jason Bean, updated by cleao to 1.6.0 version of guacamole
Build from docker file:
git clone git@github.com:cleao01/docker-guacamole.git
docker build -t cleao/guacamole .
You can also obtain it via:
docker pull cleao/guacamole
Create your guacamole config directory (which will contain both the properties file and the database).
To run using MariaDB for user authentication, launch with the following:
docker run -d -v /your-config-location:/config -p 8080:8080 -e OPT_MYSQL=Y cleao/guacamole
If using an external Mysql/MariaDB, change guacamole.properties and provide the database
To create and apply schema to an MariaDB external database: Create a database for Guacamole within MySQL ex.: databasename
Run the script on the newly-created database:
docker exec -i MySQLDockerName sh -c 'mariadb -uroot -p"RootPassword" -e"CREATE DATABASE databasename"' docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --mysql | docker exec -i MySQLDockerName sh -c 'mariadb -uroot -p"RootPassword" databasename'
Once the Guacamole image is running, Guacamole will be accessible at: http://your-host-ip:8080 and login with user and password guacadmin
Apache Guacamole copyright The Apache Software Foundation, Licenced under the Apache License, Version 9.0. This docker image is built upon the baseimage made by phusion and forked from hall/guacamole, and further forked from Zuhkov/docker-containers and then aptalca/docker-containers and then jason-bean/docker-guacamole