abesnier / docker-guacamole

A self-contained guacamole docker container for x64. Remotely connect over SSH, RDP or VNC using HTML5.
https://hub.docker.com/r/abesnier/guacamole
GNU General Public License v3.0
78 stars 14 forks source link

Shut down itself #21

Open ckwcfm opened 1 year ago

ckwcfm commented 1 year ago

it shut down itself after few hours it start.

abesnier commented 1 year ago

That's not an issue I've ever encountered.

Can you confirm the tag you are using, the architecture, and your command line/docker-compose?

ckwcfm commented 1 year ago

thank you for your reply, I am using this image: guacamole:1.5.2-alpine-pg15 and here is my docker-compose.yml. I am using in a docker swarm environment

version: "3"
services:
  guacamole:
    image: abesnier/guacamole:1.5.2-alpine-pg15
    networks:
      - tailscale
      - proxy
    user: root
    volumes:
      - gua-config:/config
    deploy:
      restart_policy:
        condition: on-failure
      placement:
        constraints:
          - node.labels.manager == ironman

networks:
  tailscale:
    external: true
  proxy:
    external: true

volumes:
  gua-config:
abesnier commented 1 year ago

I can't really find why it would crash, and because docker compose does not keep logs of stopped containers, the only solution I see for trouble shooting would be to mount the Tomcat logs directory, to make them persistent.

Could you mount it (i.e. tomcat-log:/opt/tomcat/logsin the volume section)? Then after a crash, post the last lines of the file catalina.(timestamp).log

Another more radical approach could be to also test another image (like latest-1.5.2), that does not require any changes, and configuration is maintained.

Sorry I can't do much more right now.

ckwcfm commented 1 year ago

no problem. I will do that can reply. thanks a lot