InfluxDB image
To create the image akolosov/influxdb
, execute the following command on akolosov-docker-influxdb folder:
docker build -t akolosov/influxdb .
You can now push new image to the registry:
docker push akolosov/influxdb
Example on a single docker host :
- launch first container :
docker run -p 8083:8083 -p 8086:8086 -p 8088:8088 -d --name influx-master akolosov/influxdb -hostname influx-master
- then launch one or more "slaves":
docker run --link influx-master:master -p 8083 -p 8086 -p 8088 -d --name influx-slave akolosov/influxdb -hostname influx-slave -join master:8088