RethinkDBEstimated reading time: 3 minutes
RethinkDB is an open-source, document database that makes it easy to build and scale realtime apps.
GitHub repo: https://github.com/rethinkdb/rethinkdb-dockerfiles
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 repo at https://store.docker.com/images/rethinkdb.
Supported tags and respective
For detailed information about the published artifacts of each of the above supported tags (image metadata, transfer size, etc), please see the
repos/rethinkdb directory in the
docker-library/repo-info GitHub repo.
For more information about this image and its history, please see the relevant manifest file (
library/rethinkdb). This image is updated via pull requests to the
docker-library/official-images GitHub repo.
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
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 \ '' some-rethink):8080"
Connecting to the web admin interface on a remote / virtual host via SSH
remote is an alias for the remote user@hostname:
# start port forwarding ssh -fNTL localhost:8080:$(ssh remote "docker inspect --format \ '' some-rethink"):8080 remote # open interface in browser xdg-open http://localhost:8080 # stop port forwarding kill $(lsof -t -i @localhost:8080 -sTCP:listen)
See the official docs for infomation on using and configuring a RethinkDB cluster.
View license information for the software contained in this image.
Supported Docker versions
This image is officially supported on Docker version 17.04.0-ce.
Support for older versions (down to 1.6) is provided on a best-effort basis.
Please see the Docker installation documentation for details on how to upgrade your Docker daemon.
If you have any problems with or questions about this image, please contact us through a GitHub issue. If the issue is related to a CVE, please check for a
cve-tracker issue on the
official-images repository first.
You can also reach many of the official image maintainers via the
#docker-library IRC channel on Freenode.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially 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.
Documentation for this image is stored in the
rethinkdb/ directory of the
docker-library/docs GitHub repo. Be sure to familiarize yourself with the repository’s
README.md file before attempting a pull request.