I am trying to play around with Apache Guacamole but, for the life of me, I cannot get it to work. I have been trying to deploy it with docker-compose and have tried numerous online guides with no luck. I always end up with the same issue.

Issue: i log into the web portal, i am presented with the initial login screen, i input the default guacadmin/guacadmin and then I am met with an error page. This has happened on numerous browsers. Images are below.

Note: i am just trying to test this out so no proxy right now. Literally just trying to play with the interface.

Instructions last used: https://theko2fi.medium.com/apache-guacamole-manual-installation-with-docker-compose-222cef1894e3

I am doing all of this on a fresh AlmaLinux8. Below is what I have done. Any ideas?

Edit: container logs can be found as a comment to this post.

curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh | grep -qE "ERROR: Unsupported distribution 'rocky'|ERROR: Unsupported distribution 'almalinux'" && sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo && sudo dnf -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin

sudo systemctl start docker
sudo systemctl enable docker

sudo usermod -a ${USER} -G docker
newgrp docker

mkdir ${HOME}/docker-stack
cd ${HOME}/docker-stack

mkdir -p ${HOME}/docker-stack/guacamole/init
chmod -R +x ${HOME}/docker-stack/guacamole/init

docker run --rm guacamole/guacamole:1.5.0 /opt/guacamole/bin/initdb.sh --postgres > ${HOME}/docker-stack/guacamole/init/initdb.sql

sudo cat > ${HOME}/docker-stack/guacamole/docker-compose.yml <
  • amcco1@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Your docker-compose looks overly complicated…

    Here is mine.

    version: "3.7"
    networks:
      docknet:
    	external: true
    services:
      guacamole:
    	image: jwetzell/guacamole
    	container_name: guacamole
    	volumes:
    	  - postgres:/config
    	ports:
    	  - 8080:8080
    	networks:
    	  docknet:
    		ipv4_address: 192.168.1.8
    	restart: unless-stopped
    volumes:
      postgres:
    	driver: local
    #default login is guacadmin/guacadmin