rethinkdb Using RethinkDB with Docker Basic usage


Example

By default, RethinkDB binds all services to 127.0.0.1. So this following example will persist data to the host_data_path on the container's host machine and available to 127.0.0.1 on the standard ports.

ServiceFlagDefault Port
Driver--driver-port28015
Cluster--cluster-port29015
HTTP WebUI--http-port8080
docker run -d -v host_data_path:/data rethinkdb 

To open up the driver and cluster port to the external traffic you must specify the address of local interfaces or provide all.

docker run -d -v host_data_path:/data rethinkdb --bind all