cynthia-rempel / guacamole-compose Goto Github PK
View Code? Open in Web Editor NEWDocker compose project with keycloak and guacamole
License: BSD 2-Clause "Simplified" License
Docker compose project with keycloak and guacamole
License: BSD 2-Clause "Simplified" License
I'm getting this error when running docker-compose up:
Cannot start service guacamole: OCI runtime create failed: container_linux.go:346:
starting container process caused "process_linux.go:449: container init caused
\"rootfs_linux.go:58: mounting \\\"/Users/charliesolomon/guacamole-compose/openid/guacamole-auth-openid-1.1.0.jar\\\" to
rootfs \\\"/var/lib/docker/overlay2/5549e50e504a272b3a4cf55b5ee524ea7818b718c8f5d8c8a4dcd12980e32d19/merged\\\"
at \\\"/var/lib/docker/overlay2/5549e50e504a272b3a4cf55b5ee524ea7818b718c8f5d8c8a4dcd12980e32d19/merged/opt/guacamole/openid/guacamole-auth-openid-1.1.0.jar\\\"
caused \\\"not a directory\\\"\"": unknown:
Are you trying to mount a directory onto a file (or vice-versa)?
Check if the specified host path exists and is the expected type
ERROR: for guacamole Cannot start service guacamole: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"/Users/charliesolomon/guacamole-compose/openid/guacamole-auth-openid-1.1.0.jar\\\" to rootfs \\\"/var/lib/docker/overlay2/5549e50e504a272b3a4cf55b5ee524ea7818b718c8f5d8c8a4dcd12980e32d19/merged\\\" at \\\"/var/lib/docker/overlay2/5549e50e504a272b3a4cf55b5ee524ea7818b718c8f5d8c8a4dcd12980e32d19/merged/opt/guacamole/openid/guacamole-auth-openid-1.1.0.jar\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
ERROR: Encountered errors while bringing up the project.```
This would be possible if we hard-coded the container names into the docker-compose file.
Looks like everything spun up:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7d7b97fc4e24 haproxy:2.1 "/docker-entrypoint.…" 12 minutes ago Up 12 minutes 0.0.0.0:8443->8443/tcp guacamole-compose_haproxy_1
73338c66b5e2 guacamole/guacamole:1.1.0 "/opt/guacamole/bin/…" 12 minutes ago Up 12 minutes 8080/tcp, 0.0.0.0:6443->8443/tcp guacamole-compose_guacamole_1
9179f5c05aaa jboss/keycloak:latest "/opt/jboss/tools/do…" 12 minutes ago Up 12 minutes 8080/tcp, 0.0.0.0:7443->8443/tcp guacamole-compose_keycloak_1
031ada5361f6 postgres:9.6 "docker-entrypoint.s…" 4 hours ago Up 12 minutes 5432/tcp guacamole-compose_keycloakpostgres_1
c79ac090e44b postgres:9.6 "docker-entrypoint.s…" 4 hours ago Up 12 minutes 5432/tcp guacamole-compose_postgres_1
0e48f03ea20b guacamole/guacd:1.1.0 "/bin/sh -c '/usr/lo…" 4 hours ago Up 4 hours 0.0.0.0:4822->4822/tcp guacamole-compose_guacd_1
...but when I try to browse to https://localhost:8443/guacamole it just spins. Tried editing my hosts file as your README.md suggests. I'll check the logs a bit closer.
Stuck on an error after docker-compose up
about not being able to mount the server.xml
file, because its a directory. Not sure "why" it's a directory after ./setup.sh, but it is. Here's the log from setup.sh:
+ cd ..
+ docker run --rm docker.io/guacamole/guacamole:1.1.0 /opt/guacamole/bin/initdb.sh --postgres
+ docker run --rm docker.io/guacamole/guacamole:1.1.0 cat /usr/local/tomcat/conf/server.xml
+ patch init/server.xml.orig
patching file init/server.xml.orig
+ cd init
+ wget -nc https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar
--2020-03-27 16:55:57-- https://jdbc.postgresql.org/download/postgresql-9.4.1212.jar
Resolving jdbc.postgresql.org (jdbc.postgresql.org)... 72.32.157.228
Connecting to jdbc.postgresql.org (jdbc.postgresql.org)|72.32.157.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 680445 (664K) [application/java-archive]
Saving to: ‘postgresql-9.4.1212.jar’
postgresql-9.4.1212.jar 100%[=============================================================================>] 664.50K 1.49MB/s in 0.4s
2020-03-27 16:55:58 (1.49 MB/s) - ‘postgresql-9.4.1212.jar’ saved [680445/680445]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.