To quickly spin up an instance of OpenTSDB, simply specify a port forwarding
rule and run the container:
$ docker run \ -p 4242:4242 \ jleight/opentsdb
OpenTSDB relies on HBase to store its data. HBase has been configured to store
its data in the
/var/opt/hbase directory, which has been defined as a volume.
As such, it is recommended to either map this volume to a host directory, or to
create a data container for the volume. This way, the container can be upgraded
without losing all of your data.
A data container can be created by running the following command:
$ docker create \ --name opentsdb-data \ jleight/opentsdb
The application container can then be started by running:
$ docker run \ --name confluence \ --volumes-from opentsdb-data \ -p 4242:4242 \ jleight/opentsdb
- Jonathon Leight <firstname.lastname@example.org>
- Mirko Kämpf <email@example.com>
does it work properly when it's stopped and started again? I can access
<machine_ip>:4242 page, then I do
docker stop confluence and
docker start confluence but the webpage isn't accessible anymore.