使用 docker-compose 使用和管理 Guacamole。
下载 Guacamole.tar.gz :
| 12
 3
 4
 5
 6
 7
 
 | $ wget https://kekxv.github.io/assets/file/Guacamole.tar.gz$ tar -zxvf Guacamole.tar.gz
 $ cd Guacamole
 $
 $ docker-compose pull
 $
 $ docker-compose up -d
 
 | 
访问 Guacamole ;http[s]://域名:18080/guacamole/;

默认账号密码为 : guacadmin/guacadmin。
使用 Ctrl+Alt+Shift (Control+option+Shift )可以呼出菜单,如果使用的ssh协议,能够在菜单内进行上传下载操作。
附 docker-compose.yml 配置:
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 
 | version: '3'services:
 guacd:
 image: guacamole/guacd
 container_name: guacd
 restart: always
 networks:
 guacamole:
 aliases:
 - guacd
 
 mysql:
 image: mysql/mysql-server:5.7
 container_name: mysql
 restart: always
 
 
 volumes:
 - ./mysql/:/var/lib/mysql
 environment:
 - MYSQL_ROOT_PASSWORD=mysql123
 networks:
 guacamole:
 aliases:
 - mysql
 
 guacamole:
 image: guacamole/guacamole
 container_name: guacamole
 restart: always
 depends_on:
 - guacd
 - mysql
 networks:
 guacamole:
 aliases:
 - guacamole
 environment:
 - MYSQL_HOSTNAME=mysql
 - MYSQL_PORT=3306
 - MYSQL_DATABASE=guacamole
 - MYSQL_USER=guacamole
 - MYSQL_PASSWORD=guacamole123
 - GUACD_HOSTNAME=guacd
 - GUACD_PORT=4822
 ports:
 - 18080:8080
 links:
 - guacd
 - mysql
 networks:
 guacamole:
 
 |