Skip to content
项目

关于

Apache Guacamole 的 Docker 容器。Guacamole 是一个无需客户端的远程桌面网关,支持通过 HTML5 使用 VNC、RDP 和 SSH 等标准协议,适用于 x64、arm64 和 ppc64le。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Docker Image CI Docker Pulls

Docker Guacamole

A Docker Container for Apache Guacamole, a client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5.

Supported Linux OS: amd64, arm64

This container runs the guacamole web client, the guacd server and a postgres database (version 16).

The image builds guacd from guacamole-server source during docker build and enables a broad optional dependency set (RDP, VNC, SSH, Telnet, Kubernetes, PulseAudio, WebP, and FFmpeg/libav tooling support) so useful codecs/plugins are available out of the box.

FreeRDP is also compiled from source (currently 3.24.2) with audio/video codec support explicitly enabled: FFmpeg-based DSP and H.264, OpenH264, Opus, GSM, FAAC/FAAD2 AAC, SOX resampler, JPEG, and PulseAudio. This avoids relying on whichever codec flags the Alpine distro package maintainer chose to include.

FreeRDP is also built from source with FFmpeg, swscale, OpenH264, Opus, GSM, AAC, soxr, and PulseAudio support enabled, rather than relying on Alpine's packaged feature set. Guacamole 1.6.0 currently treats FreeRDP 3.x as experimental, so broad codec/media support comes with that upstream caveat.

On first start with an existing PostgreSQL 13 data directory in /config/postgres, the container automatically performs an in-place major upgrade to PostgreSQL 16 using pg_upgrade. The original PG13 data directory is preserved as /config/postgres-v13 until you remove it after verifying the upgrade.

Usage (Multi-Arch)

docker run \
  -p 8080:8080 \
  -v </path/to/config>:/config \
  flcontainers/guacamole

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
  • -v /etc/locatime - Recommended to sync container time with host (Docker)
  • -e TZ - Set Timezone (standard format: Europe/Berlin)
  • -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:

docker run \
  -p 8080:8080 \
  -v </path/to/config>:/config \
  -v /etc/localtime:/etc/localtime:ro \
  -e TZ="UTC" \
  -e EXTENSIONS="auth-ldap,auth-duo" \
  flcontainers/guacamole

Extension List:

  • auth-duo
  • auth-header
  • auth-jdbc-mysql
  • auth-jdbc-postgresql
  • auth-jdbc-sqlserver
  • auth-json
  • auth-ldap
  • auth-quickconnect
  • auth-sso-openid
  • auth-sso-saml
  • auth-sso-cas
  • auth-totp
  • auth-ban
  • display-statistics
  • vault-ksm
  • history-recording-storage

More information: Guacamole release notes

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 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.

version: "3"
services:
  guacamole:
    image: flcontainers/guacamole
    container_name: guacamole
    environment:
      TZ: 'UTC'
      EXTENSIONS: 'auth-totp,auth-ldap'
    volumes:
      - postgres:/config
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 8080:8080
volumes:
  postgres:
    driver: local

License

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 for more details.

探索相关项目

加载中…