After that I have run guacd and guacamole container and linked them with mysql container.
1. docker run --name example-guacd -d -v ~/recordings:/var/lib/guacamole/recordings guacamole/guacd docker run --name example-guacamole --link example-guacd:guacd --link example-mysql:mysql -e MYSQL_DATABASE=guacamole_db -v ~/recordings:/var/lib/guacamole/recordings -e MYSQL_USER=guacamole_user -e MYSQL_PASSWORD=guacamole_user_password -d -p 8080:8080 guacamole/guacamole 2. Please help me out here. Do I have to give permission to folders explicitly? Kindly let me know. Thanks, Raj Burnwal ________________________________ From: Raj Burnwal <[email protected]> Sent: Tuesday, May 30, 2023 2:32 PM To: [email protected] <[email protected]> Subject: Issue with session recording not showing on history tab on guacamole Hello mates, I have trying to setup apache guacamole on docker. I'm able to setup guacamole and its accessible through web. But I'm facing issue with session recording as link for sessions are not showing in history tab. Even though recorded files are showing in both containers guacd server and guacamole-client. Anyone is facing the same issue with session recording? I found official documentation not helpful much for docker setup at least. I have performed below steps to setup. * * docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --mysql > initdb.sql * docker run --name example-mysql -e MYSQL_RANDOM_ROOT_PASSWORD=yes -e MYSQL_ONETIME_PASSWORD=yes -d mysql/mysql-server * docker cp initdb.sql example-mysql:/guac_db.sql docker exec -it example-mysql bash Executed below SQL command on mysql container. ALTER USER 'root'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE guacamole_db; CREATE USER 'guacamole_user'@'%' IDENTIFIED BY 'password'; GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'%'; FLUSH PRIVILEGES; cat guac_db.sql | mysql -u root -p guacamole_db The content of this email is confidential and intended for the recipient specified in the message only. It is strictly forbidden to share any part of this message with any third party without the written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion so that we can ensure such a mistake does not occur in the future. CAUTION: This email was sent from an external source. This is not an Opcito User. Be cautious while downloading any attachments and clicking on links. The content of this email is confidential and intended for the recipient specified in the message only. It is strictly forbidden to share any part of this message with any third party without the written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion so that we can ensure such a mistake does not occur in the future.
