Comments (2)
After some investigating, I found that it would access home folder for history file.
https://github.com/orientechnologies/orientdb/blob/3.0.11/core/src/main/java/com/orientechnologies/common/console/TTYConsoleReader.java#L550
You should make sure $HOME/.orientdb
accessible
Or you could config system properties of JVM through docker's environment variables.
docker create/run -e JAVA_OPTS='-Duser.home=/orientdb/databases' [other options] orientdb
The folder /orientdb/databases
and /orientdb/log
are both acceptable while the former one is persist via volume, and the latter would be clear with the container.
There may some other issues related to permissions, one of them might be /orientdb/backup
is owned by root:root
by default. I think this is an issue of packaging prebuilt release.
from orientdb-docker.
The same error here.
I'm using the Docker image here https://hub.docker.com/_/orientdb/ with tag latest (3.0.11).
If creating container with non-root user (pass -u 1000:1000
), it would throw the same exception at the time running docker exec -it -u 1000:1000 <container_id> /orientdb/bin/console.sh
)
from orientdb-docker.
Related Issues (20)
- docker-compose orientdb3.0.5
- Error docker start HOT 1
- Backup DB in docker container
- OrientDB version 2.2.37 not on Docker hub HOT 1
- Tinkerpop port not exposed HOT 2
- How can I add an SSL certificate to OrientDB Rest API?
- Error in launching gremlin.sh with orientdb:3.1.5-tp3 HOT 1
- Permission denied error for orientdb non root image on AKS volume mount disk
- No docker image for 3.2.1 HOT 2
- [HELP Needed] Deploying orientdb on OpenShift
- oetl.sh can't find json config file
- No 3.2.6 in Dockerhub HOT 2
- Which signal orientdb handles for gracefully shutdown HOT 1
- amd64/orientdb:2.2.31 is not working HOT 2
- [rl-vulnerability_alerts-1] Violation against OSS Rules of Play
- [rl-reuse_tool-2] Violation against OSS Rules of Play
- [rl-reuse_tool-1] Violation against OSS Rules of Play
- [rl-reuse_tool-3] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play
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 orientdb-docker.