Bobcares

An Introduction to Guacamole Docker

by | May 24, 2022

Install Guacamole Docker for Apache is a remote desktop gateway that doesn’t require a client.

Bobcares responds to all inquiries, big or small, as part of our Docker hosting support.

Let’s take a closer look at the details.

Guacamole Docker | About

Apache Guacamole, a clientless remote desktop gateway, has a Docker container. Over HTML5, it supports standard protocols like VNC, RDP, and SSH. So, this image will run on Docker for Mac, Docker for Windows, Synology DSM, and Raspberry Pi 3 boards on most platforms that support Docker. Moreover the guacamole web client, the guacd server, and a postgres database are all run in this container.

Usage of Guacamole Docker Container for Apache
docker run \ -p 8080:8080 \ -v </path/to/config>:/config \ oznu/guacamole

Raspberry Pi / ARMv6

Using the armhf tag on this image, we can run Apache Guacamole on a Raspberry Pi or other Docker-enabled ARMv5/6/7/8 devices.

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

Parameters

Generally, we can divide the parameters into two halves by a colon, with the left hand side representing the host and the right hand side representing the container.

  • -p 8080:8080 : Binds the service to the Docker host’s port 8080.
  • -v /config : The location of the configuration and database.
  • -e EXTENSIONS

Enabling Extensions

Specifically, we can use the -e EXTENSIONS variable to enable extensions. Similarly, we can use comma separated list without spaces to enable multiple extensions. For example: docker run \ -p 8080:8080 \ -v </path/to/config>:/config \ -e "EXTENSIONS=auth-ldap,auth-duo" oznu/guacamole

Installing Guacamole with Docker

We can deploy Guacamole using Docker, which eliminates the need to compile guacamole-server from source code or manually configure the web application. Thus, the Guacamole project provides official Docker images for Guacamole and guacd.

A typical Guacamole Docker deployment will consist of three separate containers that are linked together at the time of creation:

guacamole/guacd

Builds the guacd daemon with support for VNC, RDP, SSH, telnet, and Kubernetes from the released guacamole-server source.

guacamole/guacamole

Provides WebSocket support for the Guacamole web application running in Tomcat 8. When the image starts, the configuration needed to connect to guacd, MySQL, PostgreSQL, LDAP, and other databases will be generated automatically based on Docker links or environment variables.

mysql or postgresql

Guacamole will use this database for authentication and connection configuration data storage.

Running the guacd Docker image

The guacd Docker image is based on the guacamole-server source code and includes VNC, RDP, SSH, telnet, and Kubernetes support. Meanwhile. installing the required dependencies, installing fonts for SSH, telnet, or Kubernetes, and making sure the FreeRDP plugins are installed to the correct location are all addressed. Generally, it’ll simply function.

Running guacd for use

There is no need to expose any ports on the network when using the guacd image to link to a Guacamole container. Then, docker will handle access to these ports automatically during linking. Then, the Guacamole image will correctly detect and configure the connection to guacd.

$ docker run --name some-guacd -d guacamole/guacd

Guacd will listen on port 4822 when run in this manner. But this port will only be available to Docker containers that have been explicitly linked to some-guacd. The GUACD_LOG_LEVEL environment variable can be used to control the guacd log level. Even though the default value is info, but it can be changed to any of the valid guacd log flag settings (-L).Then

$ docker run -e GUACD_LOG_LEVEL=debug -d guacamole/guacd

Default User

The default username is guacadmin and guacadmin is the password.

[Looking for a solution to another query? We are just a click away.]

Conclusion

To sum up, our Support team explained the Docker container for Apache Guacamole in detail.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF