Public | Automated Build

Last pushed: a year ago
Short Description
OrientDB multi-model (native graph / document) database, 2nd generation of NoSQL databases.
Full Description

Supported tags and Dockerfile links

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 ORIENTDB_ROOT_PASSWORD is s3cr3t, but it can be overriden with the -e option, as explained in the reference: ENV section.

Accessing the container

This image EXPOSE ports 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]

.

Administration tasks

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 ORIENTDB_ROOT_PASSWORD.

Accessing the data

The 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.

License

Copyright (c) 2016 - Salvador Juan Martínez < saljuama@gmail.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

http://www.apache.org/licenses/LICENSE-2.0

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.

User Feedback

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.

Docker Pull Command
Owner
saljuama
Source Repository

Comments (0)