HUB
Sign inSign up

oremj/rethinkdb

By oremj

•Updated about 11 years ago

Image
1

2.5K

oremj/rethinkdb repository overview

⁠RethinkDB Dockerfile

This repository contains Dockerfile of RethinkDB⁠ for Docker⁠'s trusted build⁠ published to the public Docker Registry⁠.

⁠Installation
  1. Install Docker⁠.

  2. Download trusted build⁠ from public Docker Registry⁠: docker pull dockerfile/rethinkdb

    (alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/rethinkdb" github.com/dockerfile/rethinkdb)

⁠Usage
docker run -d -p 8080:8080 -p 28015:28015 -p 29015:29015 dockerfile/rethinkdb
⁠Run the first host of cluster
docker run -d -p 8080:8080 -p 28015:28015 -p 29015:29015 -v <data-dir>:/data dockerfile/rethinkdb rethinkdb --bind=all --canonical-address `curl -s ipecho.net/plain` --machine-name `hostname | sed 's/-/_/g'`
⁠Run subsequent hosts joining to cluster
docker run -d -p 8080:8080 -p 28015:28015 -p 29015:29015 -v <data-dir>:/data dockerfile/rethinkdb rethinkdb --bind all --canonical-address `curl -s ipecho.net/plain` --machine-name `hostname | sed 's/-/_/g'` --join <first-host-ip>:29015

After few seconds, Open http://<host>:8080.

Tag summary
Recent tags
Content type
Image
Digest
sha256:3bd022531…
Size
116 MB
Last updated
about 11 years ago
docker pull oremj/rethinkdb:latest