Hi Craig, Have you tried to expose the Guacamole port outside the Docker container as explained here: https://guacamole.incubator.apache.org/doc/gug/guacamole-docker.html
=============================================================================================================================== Running guacd for use by services outside Docker If you are not going to use the Guacamole image, you can still leverage the guacd image for ease of installation and maintenance. By exposing the guacd port, 4822, services external to Docker will be able to access guacd. Important Take great care when doing this - guacd is a passive proxy and does not perform any kind of authentication. If you do not properly isolate guacd from untrusted parts of your network, malicious users may be able to use guacd as a jumping point to other systems. $ docker run --name some-guacd -d -p 4822:4822 guacamole/guacd guacd will now be listening on port 4822, and Docker will expose this port on the same server hosting Docker. Other services, such as an instance of Tomcat running outside of Docker, will be able to connect to guacd directly. =============================================================================================================================== --------------------------------------------------------------------- Peace and Best Regards, Arnaud 2017-01-04 14:03 GMT+01:00 Craig Gibb <[email protected]>: > Hi i have managed to get the docker installation done on CentOS 7, and all > three containers posgres, guacd, and guacamole > are started. But my inexperience with docker is causing problems, when i > try to connect using rdp to a machine on the same network > bu then nothing happens. > Below are the steps that i have followed using postgres:- > > yum install docker > systemctl start docker.service > docker run --name docker-postgres -e POSTGRES_PASSWORD=PASSWORD_HERE -d > postgres > docker run --rm glyptodon/guacamole /opt/guacamole/bin/initdb.sh > --postgres > initdb.sql > docker run -it --link docker-postgres:postgres --rm postgres sh -c 'exec > psql -h "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U > postgres' > # Enter your postgresql password from line 5 > CREATE DATABASE guacamole_db; > \q > cat initdb.sql | docker run -i --link docker-postgres:postgres --rm > postgres sh -c 'export PGPASSWORD="PASSWORD_HERE"; exec psql -h > "$POSTGRES_PORT_5432_TCP_ADDR" -p "$POSTGRES_PORT_5432_TCP_PORT" -U > postgres -d guacamole_db' > docker run --name docker-guacd -d glyptodon/guacd > docker run --name docker-guacamole --link docker-guacd:guacd \ > --link docker-postgres:postgres \ > -e POSTGRES_DATABASE=guacamole_db \ > -e POSTGRES_USER=postgres \ > -e POSTGRES_PASSWORD=PASSWORD_HERE \ > -d -p 8080:8080 glyptodon/guacamole > > > Any help in giving me a clue as to what i have missed greatly appreciated. > > /regards Craig >
