Bitnami Stack for InfluxDB™ Core
InfluxDB™ Core is an open source time-series database. It is a core component of the FDAP (Apache Flight, DataFusion, Arrow, and Parquet) stack.
Overview of InfluxDB™ Core InfluxDB(TM) is a trademark owned by InfluxData, which is not affiliated with, and does not endorse, this site.
TL;DR
docker run --name influxdb bitnami/influxdb:latest
Why use Bitnami Secure Images?
Those are hardened, minimal CVE images built and maintained by Bitnami. Bitnami Secure Images are based on the cloud-optimized, security-hardened enterprise OS Photon Linux. Why choose BSI images?
- Hardened secure images of popular open source software with Near-Zero Vulnerabilities
- Vulnerability Triage & Prioritization with VEX Statements, KEV and EPSS Scores
- Compliance focus with FIPS, STIG, and air-gap options, including secure bill of materials (SBOM)
- Software supply chain provenance attestation through in-toto
- First class support for the internet’s favorite Helm charts
Each image comes with valuable security metadata. You can view the metadata in our public catalog here. Note: Some data is only available with commercial subscriptions to BSI.
If you are looking for our previous generation of images based on Debian Linux, please see the Bitnami Legacy registry.
How to deploy InfluxDB™ Core in Kubernetes?
Deploying Bitnami applications as Helm Charts is the easiest way to get started with our applications on Kubernetes. Read more about the installation in the Bitnami InfluxDB™ Core Chart GitHub repository.
Supported tags and respective Dockerfile links
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags in our documentation page.
Get this image
The recommended way to get the Bitnami InfluxDB™ Core Docker Image is to pull the prebuilt image from the Docker Hub Registry.
docker pull bitnami/influxdb:latest
To use a specific version, you can pull a versioned tag. You can view the list of available versions in the Docker Hub Registry.
docker pull bitnami/influxdb:[TAG]
If you wish, you can also build the image yourself by cloning the repository, changing to the directory containing the Dockerfile and executing the docker build command. Remember to replace the APP, VERSION and OPERATING-SYSTEM path placeholders in the example command below with the correct values.
git clone https://github.com/bitnami/containers.git
cd bitnami/APP/VERSION/OPERATING-SYSTEM
docker build -t bitnami/APP:latest .
Using docker-compose.yaml
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated Bitnami Helm chart.
Persisting your application
If you remove the container all your data will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.
For persistence you should mount a directory at the /bitnami/influxdb path. If the mounted directory is empty, it will be initialized on the first run.
Connecting to other containers
Using Docker container networking, a different server running inside a container can easily be accessed by your application containers and vice-versa.
Containers attached to the same network can communicate with each other using the container name as the hostname.
Configuration
InfluxDB™ Core can be configured via environment variables or using CLI flags. If a configuration option is not specified in either CLI flags or in an environment variable, InfluxDB™ Core uses its internal default configuration.
Environment variables
The following tables list the main variables you can set.
Customizable environment variables
| Name | Description | Default Value |
|---|---|---|
INFLUXDB_DATA_DIR |
InfluxDB directory where data is stored. | ${INFLUXDB_VOLUME_DIR}/data |
INFLUXDB_DATA_WAL_DIR |
InfluxDB directory where the WAL file is stored. | ${INFLUXDB_VOLUME_DIR}/wal |
INFLUXDB_META_DIR |
InfluxDB directory where metadata is stored. | ${INFLUXDB_VOLUME_DIR}/meta |
INFLUXDB_CONF_FILE_FORMAT |
InfluxDB configuration file format, supported formats: yaml, yml, toml, json | yaml |
INFLUXDB_AUTOGEN_ADMIN_TOKEN_FILE |
File where to store auto-generated admin token. | ${INFLUXDB_VOLUME_DIR}/.token |
INFLUXD_CONFIG_PATH |
InfluxDB 2.x alias for configuration file path. | ${INFLUXDB_CONF_DIR} |
INFLUXDB_HTTP_PORT_NUMBER |
Port number used by InfluxDB HTTP server. | 8181 |
INFLUXDB_HTTP_BIND_ADDRESS |
InfluxDB HTTP bind address. | 0.0.0.0:${INFLUXDB_HTTP_PORT_NUMBER} |
INFLUXDB_HTTP_AUTH_ENABLED |
Whether to enable InfluxDB HTTP auth. | true |
INFLUXDB_REPORTING_DISABLED |
Whether to disable InfluxDB reporting. | true |
INFLUXDB_PORT_NUMBER |
Port number used by InfluxDB. | 8088 |
INFLUXDB_BIND_ADDRESS |
InfluxDB bind address. | 0.0.0.0:${INFLUXDB_PORT_NUMBER} |
INFLUXDB_HTTP_READINESS_TIMEOUT |
InfluxDB HTTP port readiness timeout in seconds. | 60 |
INFLUXDB_PORT_READINESS_TIMEOUT |
InfluxDB port readiness timeout in seconds. | 30 |
INFLUXDB_NODE_ID |
InfluxDB node identifier used as a prefix in all object store file paths. | nil |
INFLUXDB_OBJECT_STORE |
InfluxDB object storage to use to store Parquet files. | file |
INFLUXDB_INIT_MODE |
InfluxDB init mode. | setup |
INFLUXDB_INIT_V1_DIR |
Path to InfluxDB 1.x data to be imported into 2.x format | ${BITNAMI_VOLUME_DIR}/v1 |
INFLUXDB_INIT_V1_CONFIG |
Path to InfluxDB 1.x config file | ${BITNAMI_VOLUME_DIR}/v1/config.yaml |
INFLUXDB_UPGRADE_LOG_FILE |
InfluxDB 1.x to 2.x log file (do not place it into ${INFLUXDB_VOLUME_DIR}) | ${INFLUXDB_INIT_V1_DIR}/upgrade.log |
INFLUXDB_CONTINUOUS_QUERY_EXPORT_FILE |
InfluxDB continuous query file created during 1.x data to 2.x format migration process | ${INFLUXDB_INIT_V1_DIR}/v1-cq-export.txt |
INFLUXDB_ADMIN_USER |
InfluxDB admin username. | admin |
INFLUXDB_ADMIN_USER_PASSWORD |
InfluxDB admin user password. | nil |
INFLUXDB_ADMIN_USER_TOKEN |
InfluxDB admin user token. | nil |
INFLUXDB_ADMIN_CONFIG_NAME |
InfluxDB admin user config name. | default |
INFLUXDB_ADMIN_ORG |
InfluxDB admin org. | primary |
INFLUXDB_ADMIN_BUCKET |
InfluxDB admin user bucket. | primary |
INFLUXDB_ADMIN_RETENTION |
InfluxDB admin user retention. | 0 |
INFLUXDB_USER |
Additional InfluxDB username. | nil |
INFLUXDB_USER_PASSWORD |
Additional InfluxDB user password. | nil |
INFLUXDB_USER_ORG |
Additional InfluxDB user org. | ${INFLUXDB_ADMIN_ORG} |
INFLUXDB_USER_BUCKET |
Additional InfluxDB user bucket. | nil |
INFLUXDB_CREATE_USER_TOKEN |
Whether to create user token for InfluxDB. | no |
INFLUXDB_READ_USER |
Additional InfluxDB read-only username. | nil |
INFLUXDB_READ_USER_PASSWORD |
Additional InfluxDB read-only user password. | nil |
INFLUXDB_WRITE_USER |
Additional InfluxDB username with write privileges. | nil |
INFLUXDB_WRITE_USER_PASSWORD |
Additional InfluxDB user with write privileges. | nil |
INFLUXDB_DB |
InfluxDB database name. | nil |
INFLUXDB_CREATE_ADMIN_TOKEN |
Whether to create admin token during initialization. | no |
INFLUXDB_ADMIN_TOKEN |
InfluxDB admin token. | nil |
INFLUXDB_DATABASES |
Comma or semicolon separated list of databases to be created during initialization. | nil |
AWS_ACCESS_KEY_ID |
AWS S3 access key id. | nil |
AWS_SECRET_ACCESS_KEY |
AWS S3 secret access key. | nil |
GOOGLE_SERVICE_ACCOUNT |
Google Cloud service account key. | nil |
AZURE_STORAGE_ACCESS_KEY |
Microsoft Azure access key. | nil |
Read-only environment variables
| Name | Description | Value |
|---|---|---|
INFLUXDB_BASE_DIR |
InfluxDB installation directory. | ${BITNAMI_ROOT_DIR}/influxdb |
INFLUXDB_VOLUME_DIR |
InfluxDB persistence directory. | ${BITNAMI_VOLUME_DIR}/influxdb |
INFLUXDB_BIN_DIR |
InfluxDB directory for binary executables. | ${INFLUXDB_BASE_DIR}/bin |
INFLUXDB_CONF_DIR |
InfluxDB configuration directory. | ${INFLUXDB_BASE_DIR}/etc |
INFLUXDB_DEFAULT_CONF_DIR |
InfluxDB default configuration directory. | ${INFLUXDB_BASE_DIR}/etc.default |
INFLUXDB_CONF_FILE |
InfluxDB configuration file. | ${INFLUXDB_CONF_DIR}/config.${INFLUXDB_CONF_FILE_FORMAT} |
INFLUXDB_INITSCRIPTS_DIR |
Directory where to look for InfluxDB init scripts. | /docker-entrypoint-initdb.d |
INFLUXD_ENGINE_PATH |
InfluxDB 2.x alias for engine path. | ${INFLUXDB_VOLUME_DIR} |
INFLUXD_BOLT_PATH |
InfluxDB 2.x alias for bolt path. | ${INFLUXDB_VOLUME_DIR}/influxd.bolt |
INFLUX_CONFIGS_PATH |
InfluxDB 2.x alias for paths to extra configuration folders. | ${INFLUXDB_VOLUME_DIR}/configs |
INFLUXDB_DAEMON_USER |
InfluxDB system user. | influxdb |
INFLUXDB_DAEMON_GROUP |
InfluxDB system group. | influxdb |
Additionally, InfluxDB™ Core can be configured using its internal environment variables prefixed by INFLUXDB3_, find more information here.
Note: The settings at the environment variables override the equivalent options in the configuration file.
Initializing a new instance
When the container is executed for the first time, it will execute the files with extensions .sh located at /docker-entrypoint-initdb.d.
In order to have your custom files inside the docker image you can mount them as a volume.
Setting the admin token on first run
The admin token can easily be setup with the Bitnami InfluxDB™ Core Docker image setting the environment variable INFLUXDB_CREATE_ADMIN_TOKEN to yes.
Creating databases during initialization
You can use the INFLUXDB_DATABASES environment variable to specify a comma separated list of databases to created during the container initialization. This is useful if your application requires databases ready to be consumed, saving you from having to manually create them using the InfluxDB™ Core CLI.
FIPS configuration in Bitnami Secure Images
The Bitnami InfluxDB™ Core Docker image from the Bitnami Secure Images catalog includes extra features and settings to configure the container with FIPS capabilities. You can configure the next environment variables:
OPENSSL_FIPS: whether OpenSSL runs in FIPS mode or not.yes(default),no.
Logging
The Bitnami InfluxDB™ Core Docker image sends the container logs to stdout. To view the logs:
docker logs influxdb
You can configure the containers logging driver using the --log-driver option if you wish to consume the container logs differently. In the default configuration docker uses the json-file driver.
License
Copyright © 2026 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
InfluxDB™ Core is a trademark owned by InfluxData, which is not affiliated with, and does not endorse, this product.

