Comments (4)
First of all JAVA_HOME is not JAVA_BIN, so it need to point to upper directory like:
export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")
Second of all, you can always inject ANY ENV variable by editing restricted/env
like:
JAVA_HOME=/usr/lib/jvm/java-9-openjdk-amd64/
recreate paas
docker-compose stop; docker-compose rm; docker-compose up -d
and should work fine
from panteras.
I thought about it then I thought that the right place to do it wouldn't be there. It is available at installation and user don't need to know where is JAVA_HOME
except for configuring it.
from panteras.
Mostly apps don't need that variable, if java is the PATH
.
What you can do, to make variable agnostic from the version and path
just try to use
JAVA_HOME=/usr
instead
this should also make a trick since most of apps just add string /bin/java
edit: and /usr/bin/java
is an alias pointing to the current desired version
from panteras.
Well, it is written in the documentation of the plugin it need JAVA_HOME
. I will see the best way to fix this. I am stuck at configuring /usr/lib/libmesos.so:/usr/lib/libmesos.so
. I am trying to mount it as a volume so I can use it in jenkins as demonstrated here
I have the following error:
ERROR: for panteras Cannot start service panteras: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting \\\"/usr/lib/libmesos.so\\\" to rootfs \\\"/var/lib/docker/devicemapper/mnt/2cd649dab477b8b743a967642847a0579a733a87163a37aad94154200ebb183d/rootfs\\\" at \\\"/var/lib/docker/devicemapper/mnt/2cd649dab477b8b743a967642847a0579a733a87163a37aad94154200ebb183d/rootfs/usr/lib/libmesos-1.2.0.so\\\" caused \\\"not a directory\\\"\""
: 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
Do you know how I could get through?
from panteras.
Related Issues (20)
- maxconn configuration HOT 2
- haproxy 100% cpu usage HOT 22
- Struggling to use HTTPS / Enable HAPROXY_SSL HOT 5
- Checkpointing not working HOT 22
- HAProxy SSL Passthrough HOT 3
- Accessing consul services inside container HOT 2
- How to use ssl proxy properly and is fabio ready for replacing haproxy ? HOT 3
- Upgrade version and impossible to build image `/bin/sh: 1: locale-gen: not found` HOT 1
- [Question] Recommendation and details on how to migrate web service into Fabio. HOT 2
- Help upgrade marathon HOT 2
- [feedback] Chronos/Netdata HOT 6
- How to use verdaccio behind the HA proxy loadbalancer
- Where is consul template file for HAproxy? HOT 2
- evaluate traefik to replace fabio HOT 1
- Marathon crash, /migration-in-progress, where is zkCli/zookeepercli in panteras ? HOT 7
- g HOT 1
- Things to consider when joing a slave into a mesosphere?
- How can I get marathon to restart all services after reboot ? HOT 2
- How to disable panteras http/80 page on Panteras v3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from panteras.