Tutorial by Examples

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 PortDriver--driver-port28015Cluster--cluster-port29015HTTP WebUI--http-port80...
When deploying RethinkDB in production, you want to either turn off or lock down the WebUI. This will only respond to localhost to access the WebUI allowing you to SSH Tunnel to the host machine and access it for diagnostics and troubleshooting. docker run -d \ -v host_data_path:/data \ ret...

Page 1 of 1