Official Repository

Last pushed: 12 days ago
Short Description
RethinkDB is an open-source, document database that makes it easy to build and scale realtime apps.
Full Description

Supported tags and respective Dockerfile links

Quick reference

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.

Docker Pull Command

Comments (15)
pdonorio
5 months ago

A new and updated alpine version of rethinkdb 2.3.5:
https://hub.docker.com/r/pdonorio/rethinkdb/builds/

mech0z
a year ago

Do I need to do something for it to accept a connection from another docker image? I get ConnectionRefused when I try to connect to it from a docker aspnetcore running Docker for windows

greyarch
a year ago

@holms, I just created an alpine based image: https://hub.docker.com/r/greyarch/rethinkdb/
It is using the currently available rethinkdb alpine package - 2.3.1-r0 from edge branch, testing repo.

mristuccia
a year ago

Hi. I´m building my custom container. My Dockerfile starts with the following line:

FROM rethinkdb:2.3.4

But when I start the container, the UI is saying to me that the running version is 2.3.5~0jessie.
Am I missing something?
Tnx.

holms
a year ago

Any plans for alpine version? Please..?

zamarronstein
a year ago

how can I change the cache size in a docker-compose file?

wmolicki
2 years ago

It would be nice to have some information on how to create shards with this image

nomore
2 years ago

Hi,
I'm new to docker so my question might be silly.
Do you think I can use this image straight in production ?
What should I do to secure this image and a docker installation ?
Thanks.

tierney0115
2 years ago

exec format error when running on my ArmV7 32 bit CPU. Does this image support this kind of CUP?