Ideally the image should not be run as root, I recommend creating a user and changing the rethinkdb permissions to be accessible by that user