Setup Apache Guacamole with Docker in 2024

preview_player
Показать описание
Apache Guacamole will bring all of your remote desktop connections together through a simple web interface. This video walks through installing and configuring Guacamole using Docker.

0:00 What is Guacamole
2:17 Container setup
11:09 Database configuration
18:45 Final thoughts

#docker #homelab

Copy of the yaml file shown in the video:

version: "3"

services:
guacd:
container_name: guacd
image: guacamole/guacd
restart: unless-stopped
networks:
guac-net:
ipv4_address: 172.30.0.2

guacweb:
container_name: guac_web
image: guacamole/guacamole
restart: unless-stopped
ports:
- 8080:8080
environment:
MYSQL_DATABASE: guacamole_db
MYSQL_HOSTNAME: 172.30.0.3
MYSQL_PASSWORD: pass
MYSQL_USER: guacamole_user
GUACD_HOSTNAME: 172.30.0.2
depends_on:
- guacamole-sql
- guacd
networks:
guac-net:

guacamole-sql:
container_name: guac-sql
image: mysql
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: pass
volumes:
- dbdata:/var/lib/mysql
networks:
guac-net:
ipv4_address: 172.30.0.3

volumes:
dbdata:

networks:
guac-net:
driver: bridge
ipam:
driver: default
config:
- subnet: "172.30.0.0/16"
Рекомендации по теме
Комментарии
Автор

hey, just wanted to say thank you so much for making this tutorial !! you are straightfoward and not wasting time

slayer
Автор

I just has say " You Are A Life Saver " that's all. Thank You

prasadprasanna
Автор

I got it to work! thanks for the guide dude doing gods work

Hellboy_
Автор

Thanks, this worked for me and you really explained it well.

bobv
Автор

Thanks a lot, explained it really well and helped me a lot.

Praveenstein
Автор

Thank you for making this video, it was very helpful.
Notes:
- The 172.30.0.4 address was missing in the example above in the video description.
- I'm running Guacamole on a Raspberry Pi (ARM), the containers listed did not work for me. I used the following instead
image: linuxserver/guacd
image: flcontainers/guacamole
image: mysql
- The docker command to create the initdb.sql file did not work for me on the Pi, I had to run it on a x86_64 computer running docker and then SCP it back to the Pi.

JohnUllrey
Автор

Where is the link to the file? Sorry great video but i tried to copy the format from the notes here and the format is incorrect. Thank you sir.

michaelcooper
Автор

Hello thank for your video. I would like to know This IP address 172.30.0.3 corresponds to
Which ip address? Because I see the local host is 192.
Thanks

kyureikim
Автор

Everything ran successfully. Did the db initialization. Login invalid 🤷‍♂️. Attempted to set pw in the db but no dice.

nathanbray
Автор

hello, my docker install con win11 (computer A, ip 172.16.16.x, computer A can connect RDP to computer B, same range address) But I have installed guacamole on docker desktop computer A, but guac cant connect to Computer B) please help

thonghoang
Автор

THANK YOU! i have no idea why they don't have a ready to go mysql container and a compose file listed in documentation already, why the hell do we need to do it all manually?...

viv
Автор

Could you provide the yml file in the description? Thanks!

phizlip
Автор

You don't really need to hardcode IP adresses, Docker resolves the name of the containers by itself 🙂

cedk
Автор

Thank you really a good video. It worked in single go. I would like to know if there are more videos for this. I am adding multiple RDP PC's and want to setup when user login into guacamole with username/password, they should directly RDP into that specific client?

jaykishanmittal
Автор

Hi there, trying to follow as best I can. Everything works til at @15:47 I get the error:
Successfully copied 25.1kB to guac-sql:/initdb.sql
Error response from daemon: No such container: guac-sql

And then @16:23 I get the error:
ERROR:
Failed to open file './initdb.sql', error: 2



And cannot progress any further. Any ideas? Thank you

AlteredMercury
Автор

Awesome tutorial, I was able to get it running! Was curious if you know how to enable extensions? I’m trying to enable saml, but no luck. I’ve tried copying the saml jar file into /home/guacamole/.guacamole/extensions, but the file gets removed after restarting the container. I’ve also tried adding the extension by editing the stack config in portainer, but no luck. Any suggestions?

MrMayes
Автор

what do i do if the website is just not there? because it just says 404 not found

Blazesweather
Автор

the text on your screen is microscopic.

tolpacourt
Автор

You skipped the hard part. The hard part is configuring the remote Linux desktop. Come at me.

tolpacourt
Автор

This installation method doesn't include TOTP

MIKESALLSURE
welcome to shbcf.ru