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%%
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.