Supported tags and
NOTE: I have no intention to include older versions, but in case you need support for older versions, please request it through a Github Issue.
How to use this image
The simplest way to run a container from this image is:
$ docker run --name orient1 -d saljuama/orientdb[:tag]
By default, the
s3cr3t, but it can be overriden with the
-e option, as explained in the reference: ENV section.
Accessing the container
2424 (binary protocol) and
2480 (http protocol), so container linking will make them automatically available to the linked containers.
$ docker run --name application --link orient1:saljuama/orientdb -d application-image-using-orientdb
Also, you can use the
-p option to port-forward the ports to the host, as follows:
$ docker run --name orient1 -p <host-port>:2424 -p <host-port>:2480 -d saljuama/orientdb[:tag]
You can use Docker to connect to a OrientDB container, as follows:
$ docker run -it --link orient1:orientdb --rm saljuama/orientdb /orientdb/bin/console.sh $ orientdb> connect orientdb root s3cret
You can use another alias instead of
orientdb if you wish, but you should use it with the
connect command accordingly. Also, keep in mind using the appropiate password if you have changed the
Accessing the data
VOLUMEs declared in this image are:
/orientdb/databases: Default location for databases folders and files
/orientdb/config: Location of the configuration files
/orientdb/backup: Location of the backups
So, you can make them available using, for each one, the
-v option as follows:
$ docker run --name <container-name> -v <local-directory>:/orientdb/databases -d saljuama/orientdb[:tag]
Building the image
In case you just want to create your own image from the
Dockerfile, after editing its contents, you can build it with the
docker build command. Using the
-t option to tag the image is recommended. More information can be found at the reference documentation. Example:
$ docker build -t saljuama/orientdb .
Supported Docker versions
This image is supported on Docker 1.10.
Copyright (c) 2016 - Salvador Juan Martínez < email@example.com >
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
If you have any problems or questions about this image, please contact me through a Github Issue.
Contributions are always welcome, you are invited to send a pull request with new features, fixes or updates, but before doing so, it is strongly recommended to discuss your plans through a Github Issue, specially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.
I will do my best effort to respond issues and process requests as quickly as possible.