README.md

February 2, 2019 ยท View on GitHub

AresDB Docker

To facilitate the installation process, we have published the Dockerfile so you can get AresDB running in a docker container.

Prerequisites

Build

$ mkdir aresdb-docker
$ wget -O aresdb-docker/Dockerfile https://raw.githubusercontent.com/uber/aresdb/master/docker/Dockerfile
$ docker build -t aresdb:latest aresdb-docker

Run AresDB

nvidia-docker run -p 9374:9374/tcp -p 43202:43202/tcp -it aresdb:latest
root@9e4c5150659c:~/go/src/github.com/aresdb# make run_server >> ./log/aresdb.log 2>&1 &

This command will compile AresDB, run the server in background and map the ports in the docker container on the docker host. Refer to Swagger to start interactiving with AresDB.