regarding the documentation: 
https://guacamole.apache.org/doc/gug/guacamole-docker.html#guacamole-docker-guacamole-home

something like this should do the trick (if i understand your problem correctly)

e.g.:
```
podman run -ti --rm -v /tmp/branding.jar:/tmp/extensions/branding.jar:rw,Z -e 
GUACAMOLE_HOME=/tmp/ ... -p 8080:8080 guacamole/guacamole
```
the GUACAMOLE_HOME env variable needs to point to a directory with the correct 
structure, in this case the extensions directory needs to be present, with the 
jar file inside...

the jar file is from here: 
https://github.com/Zer0CoolX/guacamole-customize-loginscreen-extension (maybe 
this 'enough customization' for you...) 


On Thursday, April 23, 2020 17:06 CEST, Nick Couchman <[email protected]> wrote:
 On Thu, Apr 23, 2020 at 10:50 AM Riano De Souza <[email protected]> 
wrote:
Cool so I got the extention template and so on. But where is the extentions 
folder located?
 
And wont it just get overwritten when the container gets reloaded?
  You'll probably have to modify the startup script for the container to pull 
in the custom branding extension prior to starting Tomcat.  My Docker skills 
are not all that complete, so I can't tell you without some trial-and-error 
exactly how you'd accomplish that, but I know that you can specify custom 
startup commands for containers after you deploy them, so I'd guess you just 
want to make sure you deploy that extension every time.  Also, I believe the 
extension would only be overwritten if you reload the container from the 
original image - I would think it would persist between starts and stops.  I 
could be wrong about that, though - like I said, my Docker familiarity is a bit 
sketchy.  Maybe others on the list can offer their experiences and advice :-). 
-Nick
 

Reply via email to