You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Baptiste <b4...@pm.me.INVALID> on 2021/10/04 17:31:55 UTC
guachome
Hello folks,
Has anyone managed to add an extension in guacamole official image from docker hub ? If I bind the /root/.guacamole/extension ( default GUACAMOLE_HOME for the image ) to any host folder or non-existent folder to let docker create it, the following error keeps repeating :
rm: cannot remove '/root/.guacamole/extensions': Device or resource busy
However if I don't bind the volume, try to add manually the .jar in extensions and restart the container then the content of extensions folder will be removed, apart from the guacamole-auth-jdbc-postgresql-1.3.0.jar natively present.
Thanks for any idea !
Re : Re: guachome
Posted by Baptiste <b4...@pm.me.INVALID>.
Thank you Peter for your kind help,
I did everything you indicated, and following the link you provided I confirmed that my setup should be good but still, I was getting this annoying error :
ln: failed to create symbolic link '/root/.guacamole/extensions/guacamole-auth-jdbc-postgresql-1.3.0.jar': File exists
In fact you need to put all custom .jar in your extensions folder apart from the guacamole-auth-jdbc-postgresql-1.3.0.jar that seems to be included in the setup and once I understood that it went ok.
Thanks again for your help,
Regards,
Baptiste
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Le lundi 4 octobre 2021 à 20:46, Der PCFreak <ma...@pcfreak.de> a écrit :
> Hi Baptiste,
>
> Am 04.10.21 um 19:31 schrieb Baptiste:
>
>> Has anyone managed to add an extension in guacamole official image from docker hub ? If I bind the /root/.guacamole/extension ( default GUACAMOLE_HOME for the image ) to any host folder or non-existent folder to let docker create it, the following error keeps repeating :
>> rm: cannot remove '/root/.guacamole/extensions': Device or resource busy
>> However if I don't bind the volume, try to add manually the .jar in extensions and restart the container then the content of extensions folder will be removed, apart from the guacamole-auth-jdbc-postgresql-1.3.0.jar natively present.
>
> I added the following folder mapping to the guacamole container (docker-compose):
>
> ...
> volumes:
> - ./guachome:/guachome
> - ./extensions:/guachome/extensions
> ...
>
> I successfully use some extensions with this setup.
>
> My folder structure:
>
> ./extensions/branding.jar
> ./extensions/guacamole-auth-quickconnect-1.3.0.jar
> ./guachome/guacamole.properties
>
> and my ./guachome/guacamole.properties
>
> # guacamole.properties
> enable-environment-properties: true
>
> More info: https://guacamole.apache.org/doc/gug/guacamole-docker.html#guacamole-docker-guacamole-home
>
> Regards
>
> Peter
Re: guachome
Posted by Der PCFreak <ma...@pcfreak.de>.
Hi Baptiste,
Am 04.10.21 um 19:31 schrieb Baptiste:
> Has anyone managed to add an extension in guacamole official image
> from docker hub ? If I bind the /root/.guacamole/extension ( default
> GUACAMOLE_HOME for the image ) to any host folder or non-existent
> folder to let docker create it, the following error keeps repeating :
> rm: cannot remove '/root/.guacamole/extensions': Device or resource busy
> However if I don't bind the volume, try to add manually the .jar in
> extensions and restart the container then the content of extensions
> folder will be removed, apart from the
> |guacamole-auth-jdbc-postgresql-1.3.0.jar natively present|.
I added the following folder mapping to the guacamole container
(docker-compose):
|... volumes: - ./guachome:/guachome - ./extensions:/guachome/extensions
... |
I successfully use some extensions with this setup.
My folder structure:
|./extensions/branding.jar
./extensions/guacamole-auth-quickconnect-1.3.0.jar
./guachome/guacamole.properties |
and my |./guachome/guacamole.properties|
|# guacamole.properties enable-environment-properties: true |
More info:
https://guacamole.apache.org/doc/gug/guacamole-docker.html#guacamole-docker-guacamole-home
Regards
Peter