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