Comments (9)
Hi, as far i understand, you provide to orient your own config file to override the one delivered inside the container.
<listener protocol="binary" socket="default" port-range="2424-2430" ip-address="127.0.0.1"/>
this bind the protocol to 127.0.0.1 INSIDE the container and, of course, it only configure the binary protocol switching off http.
So, can you try with:
docker run -d --name orientdb-dev -p 2424:2424 -p 2480:2480 -v ~/dv/orientdb/databases:/orientdb/databases -v ~/dv/orientdb/backup:/orientdb/backup -e ORIENTDB_ROOT_PASSWORD=mypassword orientdb:2.2.0
Moreover, 2.2.3 is available.
from orientdb-docker.
I didn't edit orientdb-server-config.xml
, is The default config created after docker run
, I just replaced hash password
from orientdb-docker.
cab you try to run the container WITHOUT the config volume. You should provide the config volume ONLY in case you have your own config set: server config, jsons, logs.
For example, if you have config files managed by a configuration management software (puppet, chef, ansible...), you will provide a volume with these files.
from orientdb-docker.
any news? did you manage your issues? may I close the issue?
from orientdb-docker.
When run the container without volumens, if the same error cann't connect to port 2480
docker run -d -p 2424:2424 -p 2480:2480 -e ORIENTDB_ROOT_PASSWORD=mypassword orientdb:2.2.0
from orientdb-docker.
The ports on container are open and listening, the problem will be orientdb's default configuration.
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3b08c1beb04c orientdb:2.2.0 "server.sh" 7 minutes ago Up 7 minutes 0.0.0.0:2424->2424/tcp, 0.0.0.0:2480->2480/tcp mad_meninsky
docker exec 3b08c1beb04c sh
netstat -tuplen # inside running container
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 :::2480 :::* LISTEN 1/java
tcp 0 0 :::2424 :::* LISTEN 1/java
from orientdb-docker.
The config inside the container is the same as the one inside the tar.gz, e.g.:
https://github.com/orientechnologies/orientdb/blob/master/graphdb/config/orientdb-server-config.xml
I don't know which is the host OS for docker engine, but if you're on mac or windows (docket toolbox) remember that docker run inside a VM (docker-machine) and you will find orient on 2480 of the Vm's ip.
from orientdb-docker.
I tested a lot switches when execute docker run
and finally works:
docker run -d --name orientdb-dev -p 2424:2424 -p 2480:2480 -v ~/dv/orientdb/databases:/orientdb/databases -e ORIENTDB_ROOT_PASSWORD=mypassword orientdb:2.2.0
I don't know why but when set a local config
volume, orientdb-server-config.xml
is set with basic values
Docker version 1.11.2, build b9f10c9
ArchLinux 4.4.13-1-MANJARO
from orientdb-docker.
I try to be more clear.
A volume is useful for 2 main cases: provide disk space where a container can store data, such as database files, or to provide configurations.
If you provide an empty config volume, OrientDB will start without a configuration set: the configurations files INSIDE the container are not loaded, because the /config directory is completely overridden by the external volume. BUT the external volume is empty, there's nothing to read. So OrientDB will start with the MINIMAL configuration AND will persists it to the volume. So the config files you find on the volume IS the mininal OrientDB's configuration persisted. Docker' volumes are, IMHO, one of the powerful and yet confusing part of docker itself. Bear in mind that by default containers are ephemeral, they are not VMs.
from orientdb-docker.
Related Issues (20)
- docker-compose orientdb3.0.5
- Error docker start HOT 1
- Backup DB in docker container
- Permission Error with Orientdb on Openshift HOT 2
- 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.