docs/rethinkdb
Tianon Gravi 25a5b70c1b Adjust a ton of image references (especially to use %%IMAGE%%) 2017-10-09 15:30:46 -07:00
..
README-short.txt Add docs for RethinkDB 2015-02-04 09:53:17 +00:00
README.md Run update.sh 2017-10-04 16:31:32 +00:00
content.md Adjust a ton of image references (especially to use %%IMAGE%%) 2017-10-09 15:30:46 -07:00
github-repo Fix rethinkdb/rethinkdb-dockerfiles#31 2016-06-16 00:25:37 -07:00
license.md FORMAT ALL THE THINGS 2015-02-12 13:42:10 -07:00
logo.png Add docs for RethinkDB 2015-02-04 09:53:17 +00:00
maintainer.md Refactor the way information (especially links) are presented 2017-04-21 17:48:19 -07:00

README.md

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.

logo

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.