Hi all,
I have Guacamole running inside the docker containers (guacd and guacamole),  
I'm trying to add a new environment variable to my Guacamole docker-compose 
file to set the Guacamole home to /opt/guacamole-home.  
On the docker host machine I have created the /opt/guacamole-home directory and 
have several files in there. In my docker compose file I have these lines added:
 guacamole:    build: .    image: Myimage/guacamole    volumes:      - 
guacamole-home:/opt/guacamole-home    restart: always..environment:- 
GUACAMOLE_HOME=/opt/guacamole-home...volumes:  guacamole-home:
My Dockerfile's base image is FROM guacamole/guacamole
I understand the base image (guacamole/guacamole) does not have the 
guacamole-home defined. So I took the  volume lines out of my docker-compose 
out so it looks like this:
guacamole:    build: .    image: Myimage/guacamole    restart: always...
But now, those files I  have  in the  host machine's  /opt/guacamole-home do no 
get copied to the container with t his  error;
cp: cannot stat '/opt/guacamole-home/.': No such file or directory

The upstream image does not have the guacamole-home defined.  If  I want the 
content of the host machine's /opt/guacamole-home to  get copied to the 
/opt/-guacamole-home inside the Guacamole docker container, will I have  to add 
those volume lines back  in?
Thanks

Reply via email to