Sign inSign up

node3030/rethinkdb

By node3030

Updated about 10 years ago

RethinkDB Dockerfile for trusted automated Docker builds.

Image
1

424

node3030/rethinkdb repository overview

RethinkDB Dockerfile

This repository contains Dockerfile of RethinkDB for Docker's automated build published to the public Docker Hub.

Base Docker Image
Installation
  1. Install Docker.

  2. Download automated build from public Docker Hub: docker pull node3030/rethinkdb

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

Usage
docker run -d -p 8080:8080 -p 28015:28015 -p 29015:29015 node3030/rethinkdb
Run the first host of cluster
docker run -d -h `hostname` -p 8080:8080 -p 28015:28015 -p 29015:29015 -v <data-dir>:/data node3030/rethinkdb rethinkdb -d /data --bind all --canonical-address `curl icanhazip.com`
Run subsequent hosts joining to cluster
docker run -d -h `hostname` -p 8080:8080 -p 28015:28015 -p 29015:29015 -v <data-dir>:/data node3030/rethinkdb rethinkdb -d /data --bind all --canonical-address `curl icanhazip.com` -j <first-host-ip>:29015

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

Updates

Update rethink 11.09.2016

Tag summary

Content type

Image

Digest

Size

96.4 MB

Last updated

about 10 years ago

docker pull node3030/rethinkdb