You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Sidney Ramos Neto <si...@sidia.com> on 2024/10/10 14:37:34 UTC

Unable to enable Apache Guacamole extensions through Docker Compose

Dear all,

Unable to enable 'branding.jar' extension to customize/brand Guacamole login screen.

When trying to deploy Guacamole through the compose file, the error "cp: '/opt/guacamole/./extensions': Operation not supported" is returned in the guacamole service.

Docker Compose:
  # guacamole
  guacamole:
    depends_on:
    - guacd
    - postgres
    environment:
      GUACAMOLE_HOME: /opt/guacamole
      GUACD_HOSTNAME: guacd
      POSTGRESQL_DATABASE: guacamole_db
      POSTGRESQL_HOSTNAME: postgres
      POSTGRESQL_PASSWORD: 'Sidia2023'
      POSTGRESQL_USER: guacamole_user
    image: guacamole/guacamole:latest
    links:
    - guacd
    networks:
      network:
    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints: [node.role == worker]
    ports:
      - 8080:8080/tcp
    restart: always
    volumes:
       - . /extensions:/opt/guacamole/extensions

Could anyone help with this resolution?

Thanks!

Best Regards,
[cid:image001.png@01DB1AFE.C1B1EC40]

The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.

Re: Unable to enable Apache Guacamole extensions through Docker Compose

Posted by Michael Jumper <mj...@apache.org>.
On 10/10/24 7:37 AM, Sidney Ramos Neto wrote:
> Dear all,
> 
> Unable to enable 'branding.jar' extension to customize/brand Guacamole 
> login screen.
> 
> When trying to deploy Guacamole through the compose file, the error 
> */"cp: ‘/opt/guacamole/./extensions’: Operation not supported"/* is 
> returned in the guacamole service.
> 
> Docker Compose:
> ...
>      environment:
>        GUACAMOLE_HOME: /opt/guacamole
> ...
>      volumes:
>         - . /extensions:/opt/guacamole/extensions
> 

The "/opt/guacamole" path is already used by the image for its own 
binaries, so specifying it as the GUACAMOLE_HOME template is likely 
causing trouble. You will need to use a different path that isn't 
already being used by the image for something else.

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org