This video demonstrate the configuration of Apache Gucamole on Docker container(s) to access remote Windows / Linux machines.
Friends, As Youtube do not allow to enter 'Angle Bracket' in description, so I have removed it. Please watch the video carefully and enter the 'Angle brackets' accordingly, if you encounter any syntax error. - Thanks! ###
********************************************************************
Steps and commands:
docker pull guacamole/guacd
docker pull guacamole/guacamole
docker pull mysql
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --mysql initdb.sql
mkdir /tmp/scripts
cp initdb.sql /tmp/scripts
docker run --name guac-mysql -v /tmp/scripts:/tmp/scripts -v mysql_volume:/var/lib/mysql -e MYSQL_ROOT_PASSWORD='sqlpassword' -d mysql:latest
mysql -u root -p
CREATE DATABASE guacamole;
CREATE USER 'guacamole' IDENTIFIED BY 'sqlpassword';
GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole.* TO 'guacamole';
FLUSH PRIVILEGES;
quit
cat /tmp/scripts/initdb.sql | mysql -u root -p 'sqlpassword' guacamole;
docker run --name guacamole --link guacd:guacd --link guac-mysql:mysql \
-e MYSQL_DATABASE='guacamole' \
-e MYSQL_USER='guacamole' \
-e MYSQL_PASSWORD='sqlpassword' \
-d -p 8080:8080 guacamole/guacamole
sed -i 's/redirectPort="8443"/redirectPort="8443" server="" secure="true"/g' /usr/local/tomcat/conf/server.xml
sed -i 's/Server port="8005" shutdown="SHUTDOWN"/Server port="-1" shutdown="SHUTDOWN"/g' /usr/local/tomcat/conf/server.xml
rm -Rf /usr/local/tomcat/webapps/docs/
rm -Rf /usr/local/tomcat/webapps/examples/
rm -Rf /usr/local/tomcat/webapps/manager/
rm -Rf /usr/local/tomcat/webapps/host-manager/
chmod -R 400 /usr/local/tomcat/conf