-
Maintained by:
RethinkDB -
Where to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow
-
Where to file issues:
https://github.com/rethinkdb/rethinkdb-dockerfiles/issues -
Published image artifact details:
repo-info repo'srepos/rethinkdb/
directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images repo'slibrary/rethinkdb
label
official-images repo'slibrary/rethinkdb
file (history) -
Source of this description:
docs repo'srethinkdb/
directory (history)
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.
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
docker run --name some-app --link some-rethink:rdb -d application-that-uses-rdb
$BROWSER "http://$(docker inspect --format \
'{{ .NetworkSettings.IPAddress }}' some-rethink):8080"
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)
See the official docs for infomation on using and configuring a RethinkDB cluster.
The rethinkdb
images come in many flavors, each designed for a specific use case.
This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
Some of these tags may have names like bookworm in them. These are the suite code names for releases of Debian and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian.
This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run rethinkdb
. Unless you are working in an environment where only the rethinkdb
image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
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.