rethinkdb
Estimated reading time: 3 minutesRethinkDB is an open-source, document database that makes it easy to build and scale realtime apps.
GitHub repo: https://github.com/rethinkdb/rethinkdb-dockerfiles
Library reference
This content is imported from the official Docker Library docs, and is provided by the original uploader. You can view the Docker Store page for this image at https://store.docker.com/images/rethinkdb
Supported tags and respective Dockerfile
links
Quick reference
-
Where to get help:
the Docker Community Forums, the Docker Community Slack, or Stack Overflow -
Where to file issues:
https://github.com/rethinkdb/rethinkdb-dockerfiles/issues -
Maintained by:
RethinkDB -
Published image artifact details:
repo-info repo’srepos/rethinkdb/
directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images PRs with labellibrary/rethinkdb
official-images repo’slibrary/rethinkdb
file (history) -
Source of this description:
docs repo’srethinkdb/
directory (history) -
Supported Docker versions:
the latest release (down to 1.6 on a best-effort basis)
What is RethinkDB?
RethinkDB is an open-source, distributed database built to store JSON documents and effortlessly scale to multiple machines. It’s easy to set up and learn and features a simple but powerful query language that supports table joins, groupings, aggregations, and functions.
How to use this image
Start an instance with data mounted in the working directory
The default CMD of the image is rethinkdb --bind all
, so the RethinkDB daemon will bind to all network interfaces available to the container (by default, RethinkDB only accepts connections from localhost
).
docker run --name some-rethink -v "$PWD:/data" -d rethinkdb
Connect the instance to an application
docker run --name some-app --link some-rethink:rdb -d application-that-uses-rdb
Connecting to the web admin interface on the same host
$BROWSER "http://$(docker inspect --format \
'{{ .NetworkSettings.IPAddress }}' some-rethink):8080"
Connecting to the web admin interface on a remote / virtual host via SSH
Where remote
is an alias for the remote user@hostname:
# start port forwarding
ssh -fNTL localhost:8080:$(ssh remote "docker inspect --format \
'{{ .NetworkSettings.IPAddress }}' some-rethink"):8080 remote
# open interface in browser
xdg-open http://localhost:8080
# stop port forwarding
kill $(lsof -t -i @localhost:8080 -sTCP:listen)
Configuration
See the official docs for infomation on using and configuring a RethinkDB cluster.
License
View license information for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in the repo-info
repository’s rethinkdb/
directory.
As for any pre-built image usage, it is the image user’s responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
library, sample, rethinkdb