# docker-guacamole **Repository Path**: sudewei/docker-guacamole ## Basic Information - **Project Name**: docker-guacamole - **Description**: 哈哈哈哈哈哈哈1231231 - **Primary Language**: PowerShell - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-25 - **Last Updated**: 2023-10-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **:warning: This project is now archived and no longer supported. Please contact me if you maintain a replacement and would like me to link to your repo.** # Docker Guacamole A Docker Container for [Apache Guacamole](https://guacamole.apache.org/), a client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5. This image will run on most platforms that support Docker including Docker for Mac, Docker for Windows, Synology DSM and Raspberry Pi 3 boards. [![IMAGE ALT TEXT](http://img.youtube.com/vi/esgaHNRxdhY/0.jpg)](http://www.youtube.com/watch?v=esgaHNRxdhY "Video Title") This container runs the guacamole web client, the guacd server and a postgres database. ## Usage ```shell docker run \ -p 8080:8080 \ -v :/config \ oznu/guacamole ``` ## Raspberry Pi / ARMv6 This image will also allow you to run [Apache Guacamole](https://guacamole.apache.org/) on a Raspberry Pi or other Docker-enabled ARMv5/6/7/8 devices by using the `armhf` tag. ```shell docker run \ -p 8080:8080 \ -v :/config \ oznu/guacamole:armhf ``` ## Parameters The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. * `-p 8080:8080` - Binds the service to port 8080 on the Docker host, **required** * `-v /config` - The config and database location, **required** * `-e EXTENSIONS` - See below for details. ## Enabling Extensions Extensions can be enabled using the `-e EXTENSIONS` variable. Multiple extensions can be enabled using a comma separated list without spaces. For example: ```shell docker run \ -p 8080:8080 \ -v :/config \ -e "EXTENSIONS=auth-ldap,auth-duo" oznu/guacamole ``` Currently the available extensions are: * auth-ldap - [LDAP Authentication](https://guacamole.apache.org/doc/gug/ldap-auth.html) * auth-duo - [Duo two-factor authentication](https://guacamole.apache.org/doc/gug/duo-auth.html) * auth-header - [HTTP header authentication](https://guacamole.apache.org/doc/gug/header-auth.html) * auth-cas - [CAS Authentication](https://guacamole.apache.org/doc/gug/cas-auth.html) * auth-openid - [OpenID Connect authentication](https://guacamole.apache.org/doc/gug/openid-auth.html) * auth-totp - [TOTP two-factor authentication](https://guacamole.apache.org/doc/gug/totp-auth.html) * auth-quickconnect - [Ad-hoc connections extension](https://guacamole.apache.org/doc/gug/adhoc-connections.html) You should only enable the extensions you require, if an extensions is not configured correctly in the `guacamole.properties` file it may prevent the system from loading. See the [official documentation](https://guacamole.apache.org/doc/gug/) for more details. ## Default User The default username is `guacadmin` with password `guacadmin`. ## Windows-based Docker Hosts Mapped volumes behave differently when running Docker for Windows and you may encounter some issues with PostgreSQL file system permissions. To avoid these issues, and still retain your config between container upgrades and recreation, you can use the local volume driver, as shown in the `docker-compose.yml` example below. When using this setup be careful to gracefully stop the container or data may be lost. ```yml version: "2" services: guacamole: image: oznu/guacamole container_name: guacamole volumes: - postgres:/config ports: - 8080:8080 volumes: postgres: driver: local ``` ## License Copyright (C) 2017-2020 oznu This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](./LICENSE) for more details.