https://github.com/rattydave/guacamole-uk
Stand Alone Guacamole container.
https://github.com/rattydave/guacamole-uk
docker docker-image guacamole
Last synced: about 1 month ago
JSON representation
Stand Alone Guacamole container.
- Host: GitHub
- URL: https://github.com/rattydave/guacamole-uk
- Owner: RattyDAVE
- Created: 2017-12-11T12:51:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T10:20:56.000Z (over 4 years ago)
- Last Synced: 2025-07-26T13:38:28.279Z (11 months ago)
- Topics: docker, docker-image, guacamole
- Language: Dockerfile
- Homepage:
- Size: 47.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Guacamole
This is a stand alone Guacamole (https://guacamole.incubator.apache.org/) build with the config saved in a configuration xml file rather than a database and UK keymap included
Put your config XML in "config" directory and mount empty "data" directory for file transfers, in user-mapping.xml use the following
```
true
/file-transfer
```
To use UK keyboard
```
en-gb-qwerty
```
Start with
```
docker run \
-dit \
--name guac \
-p 8080:8080 \
-v ${PWD}/config:/etc/guacamole \
-v ${PWD}/data:/file-transfer \
rattydave/guacamole-uk:latest
```
Then connect to docker server ```http://docker:8080/remote```
Example usermapping.xml taken from http://guacamole.apache.org/doc/gug/configuring-guacamole.html#user-mapping
To see an example script on how to install please see https://raw.githubusercontent.com/RattyDAVE/guacamole-uk/master/install.sh
## Config File
In ${PWD}/config create ```usermapping.xml``` with the following
```
vnc
somevnc.hostname.com
5900
vncpassword
```
## Auto Update
To automatically update I recomend using watchtower.
```
docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower
```
# Full Version
If you require the full version then use the following
```
####### Guacamole #######
#Setup MYSQL vars
MYSQL_ROOT_PASSWORD=pass@word01
MYSQL_DATABASE=guacamole_db
MYSQL_USER=guacamole_user
MYSQL_PASSWORD=some_password
#Setup Docker instance names
MYSQL_NAME=mysqldb
GUACD_NAME=some_guacd
GUACAMOLE_NAME=some-guacamole
docker pull guacamole/guacamole
docker pull guacamole/guacd
docker pull mysql
mkdir /root/dbinit
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --mysql > /root/dbinit/guacamole_initdb.sql
docker run -d --name $MYSQL_NAME -v /root/dbinit:/docker-entrypoint-initdb.d -e MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD -e MYSQL_DATABASE=$MYSQL_DATABASE -e MYSQL_USER=$MYSQL_USER -e MYSQL_PASSWORD=$MYSQL_PASSWORD mysql
rm -r /root/dbinit
docker run --name $GUACD_NAME -d guacamole/guacd
docker run --name $GUACAMOLE_NAME --link $GUACD_NAME:guacd --link $MYSQL_NAME:mysql -e MYSQL_DATABASE=$MYSQL_DATABASE -e MYSQL_USER=$MYSQL_USER -e MYSQL_PASSWORD=$MYSQL_PASSWORD -d -p 8080:8080 guacamole/guacamole
#Access via ... http://docker.machine:8080/guacamole default password is guacadmin password guacadmin
####### END Guacamole #######
```