Documentation

Deploy the InfluxData Platform (TICK stack) in Docker containers

The quickest way to start using the InfluxDB 1.x platform (TICK stack) OSS is to download and deploy the InfluxData Sandbox. The InfluxData Sandbox uses Docker containers to deploy the InfluxData Platform components. The InfluxData Sandbox provides a containerized, ready-to-use TICK stack, built using Docker and Docker Compose, to capture data from your local machine and the Docker containers.

After deploying using the InfluxData Sandbox, you will have the latest versions of:

  • Telegraf
  • InfluxDB OSS
  • Chronograf
  • Kapacitor OSS

The InfluxData Sandbox is not recommended for production use.

Requirements

Download and run the Sandbox

The InfluxData Sandbox is open source and is available for download from Github. To download it, use git to clone the source repository:

# Clone the InfluxData Sandbox from Github
git clone https://github.com/influxdata/sandbox.git

The Sandbox repo includes a sandbox binary used to provision and manage the Sandbox’s containers and data. Run ./sandbox up from inside the sandbox directory to download the necessary images, then build and start all the required Docker containers.

# cd into the sandbox directory
cd sandbox

# Start the sandbox
./sandbox up

Make sure no other instances of TICK stack components are running on your local machine when starting the Sandbox. Otherwise you will run into port conflicts and the Sandbox won’t be able to start properly.

Once started, two tabs will open in your browser:

  1. Chronograf (localhost:8888)
  2. InfluxData Sandbox Documentation (localhost:3010)

Chronograf is the web-based user interface for the TICK stack and can be used to manage the stack. You can use Chronograf to:

Using nightly builds

The ./sandbox up command includes a -nightly option that will pull nightly builds for InfluxDB and Chronograf, giving you the most recent updates and experimental functionality.

Nightly builds are experimental and are not guaranteed to be functional.

./sandbox up -nightly

Interacting with the Sandbox TICK stack

With the Sandbox running, each component of the TICK stack is available to work with. The Sandbox documentation provides tutorials for interacting with each component. The documentation is available at localhost:3010/tutorials (with the Sandbox running) or on Github.

All configuration files, tools, and CLIs needed for managing each component of the TICK stack are included in their respective Docker containers. Tasks outlined throughout the InfluxData documentation can be accomplished using the InfluxData Sandbox.

The ./sandbox enter command opens a console inside the specified container where the project’s configuration files and CLIs are available.

# Pattern
./sandbox enter [ telegraf | influxdb | chronograf | kapacitor ]

# Example: console into the telegraf container
./sandbox enter telegraf

After updating a configuration file in a Sandbox container, use the ./sandbox restart command to restart the containers and apply the updated configuration.


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

InfluxDB v3 enhancements and InfluxDB Clustered is now generally available

New capabilities, including faster query performance and management tooling advance the InfluxDB v3 product line. InfluxDB Clustered is now generally available.

InfluxDB v3 performance and features

The InfluxDB v3 product line has seen significant enhancements in query performance and has made new management tooling available. These enhancements include an operational dashboard to monitor the health of your InfluxDB cluster, single sign-on (SSO) support in InfluxDB Cloud Dedicated, and new management APIs for tokens and databases.

Learn about the new v3 enhancements


InfluxDB Clustered general availability

InfluxDB Clustered is now generally available and gives you the power of InfluxDB v3 in your self-managed stack.

Talk to us about InfluxDB Clustered