influxdb

library/influxdb

InfluxDB 是一款开源时序数据库,专为实时分析工作负载构建,其设计聚焦于高效处理海量时间序列数据,具备高写入吞吐量与快速查询响应能力,广泛适用于监控系统、日志分析、IoT 数据采集等场景,能够满足实时数据接入、存储与即时分析的核心需求,为各类实时业务提供可靠的数据支撑。

2.0千 次收藏下载次数: 0状态:Docker 官方镜像维护者:Docker 官方镜像仓库类型:镜像最近更新:3 天前
让 AI 帮你使用轩辕镜像?

如果你使用 DeepSeek元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AIDeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

下载命令
点击查看

Quick reference

  • Maintained by:
    https://github.com/influxdata/influxdata-docker

  • Where to get help:
    InfluxDB *** Server (preferred for InfluxDB 3 Core, InfluxDB 3 Enterprise), https://influxdata.com/slack *(preferred for InfluxDB v2, v1)*

Supported tags and respective Dockerfile links

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.13/data/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.13/data/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.13/meta/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.13/meta/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.12/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.12/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.12/data/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.12/data/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.12/meta/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.12/meta/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.11/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.11/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.11/data/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.11/data/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.11/meta/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/1.11/meta/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/2.8/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/2.8/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/2.9/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/2.9/alpine/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/3.9-core/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/3.9-enterprise/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/3.10-core/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/3.10-enterprise/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/3.11-core/Dockerfile

  • https://github.com/influxdata/influxdata-docker/blob/b71413740b6b7d70f55fa630f9de872cbfe0a368/influxdb/3.11-enterprise/Dockerfile

Quick reference (cont.)

  • Where to file issues:
    https://github.com/influxdata/influxdata-docker/issues?q=is:issue+is:pr

  • Supported architectures: (https://github.com/docker-library/official-images#architectures-other-than-amd64)
    https://hub.docker.com/r/amd64/influxdb/, https://hub.docker.com/r/arm64v8/influxdb/

  • Published image artifact details:
    https://github.com/docker-library/repo-info/blob/master/repos/influxdb (https://github.com/docker-library/repo-info/commits/master/repos/influxdb)
    (image metadata, transfer size, etc)

  • Image updates:
    https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Finfluxdb
    https://github.com/docker-library/official-images/blob/master/library/influxdb (https://github.com/docker-library/official-images/commits/master/library/influxdb)

  • Source of this description:
    https://github.com/docker-library/docs/tree/master/influxdb (https://github.com/docker-library/docs/commits/master/influxdb)

Notice

On September 15, 2026, the latest tag for InfluxDB will point to InfluxDB 3 Core. To avoid unexpected upgrades, use specific version tags in your deployments.

What is InfluxDB?

InfluxDB is the time series database platform designed to collect, store, and process large amounts of event and time series data. Ideal for monitoring (sensors, servers, applications, networks), financial analytics, and behavioral tracking.

Start InfluxDB 3 Core

... via https://github.com/docker/compose

Example compose.yaml for influxdb:

yaml
# compose.yaml
name: influxdb3
services:
  influxdb3-core:
    container_name: influxdb3-core
    image: influxdb:3-core
    ports:
      - 8181:8181
    command:
      - influxdb3
      - serve
      - --node-id=node0
      - --object-store=file
      - --data-dir=/var/lib/influxdb3/data
      - --plugin-dir=/var/lib/influxdb3/plugins
    volumes:
      - type: bind
        source: ~/.influxdb3/core/data
        target: /var/lib/influxdb3/data
      - type: bind
        source: ~/.influxdb3/core/plugins
        target: /var/lib/influxdb3/plugins

Alternatively, you can use the following command to start InfluxDB 3 Core:

bash
docker run --rm -p 8181:8181 \
  -v $PWD/data:/var/lib/influxdb3/data \
  -v $PWD/plugins:/var/lib/influxdb3/plugins \
  influxdb:3-core influxdb3 serve \
    --node-id=my-node-0 \
    --object-store=file \
    --data-dir=/var/lib/influxdb3/data \
    --plugin-dir=/var/lib/influxdb3/plugins

InfluxDB 3 Core starts with:

  • Data persistence at /var/lib/influxdb3/data
  • Python processing engine enabled with plugin directory
  • HTTP API listening on port 8181

Using InfluxDB 3 Core

After starting your InfluxDB 3 server, follow the https://docs.influxdata.com/influxdb3/core/get-started/ to create an authorization token and start writing, querying, and processing data via the built-in influxdb3 CLI or the HTTP API.

Recommended tools for InfluxDB 3 Core

Use the following tools with InfluxDB 3 Core:

  • https://docs.influxdata.com/influxdb3/explorer/: Visualize, query, and manage your data with the standalone web interface designed for InfluxDB 3. https://hub.docker.com/r/influxdata/influxdb3-ui
  • https://docs.influxdata.com/telegraf/v1/: Collect, transform, and send metrics from hundreds of sources directly to InfluxDB 3. https://hub.docker.com/_/telegraf
  • https://docs.influxdata.com/influxdb3/core/reference/client-libraries/: Integrate InfluxDB 3 into your applications using supported libraries for Python, Go, JavaScript, and more.

Customize server options

Customize your instance with available https://docs.influxdata.com/influxdb3/core/reference/clis/influxdb3/serve/:

bash
   docker run --rm influxdb:3-core influxdb3 serve --help

Available InfluxDB variants

  • influxdb:3-core - Latest InfluxDB OSS (InfluxDB 3 Core)
  • influxdb:2 - Previous generation OSS (InfluxDB v2)
  • influxdb:1.11 - InfluxDB v1

InfluxDB 3 Core (influxdb:3-core) - Latest OSS

  • Latest generation using object storage with the InfluxDB 3 storage engine, Apache Arrow, and DataFusion SQL
  • Sub-10ms queries and unlimited cardinality
  • Supports SQL and InfluxQL queries
  • Includes Python processing engine
  • Designed for real-time monitoring and recent data
  • Includes InfluxDB v1 and v2 compatibility APIs

InfluxDB v2 (influxdb:2)

  • Built on the TSM storage engine
  • Supports Flux query language
  • Integrated UI and dashboards
  • Includes v1 compatibility API that supports InfluxQL

InfluxDB v1 (influxdb:1.11)

  • Built on the TSM storage engine
  • Original version with InfluxQL query language
  • Proven stability for existing deployments

InfluxDB 3 Enterprise (license required) (influxdb:3-enterprise)

Adds unlimited data retention, compaction, clustering, and high availability to InfluxDB 3 Core.

For setup instructions, see the https://docs.influxdata.com/influxdb3/enterprise/install/.

InfluxDB v1 Enterprise (license required)

  • influxdb:1.11-data - Data nodes for clustering
  • influxdb:1.11-meta - Meta nodes for cluster coordination (port 8091)

For setup instructions, see the https://docs.influxdata.com/enterprise_influxdb/v1/introduction/installation/docker/.

Version compatibility

Migration paths

To migrate from v1 or v2 to InfluxDB 3:

  1. Dual-write new data to v1/v2 and InfluxDB 3.
  2. Query historical data from v1/v2 and write it to InfluxDB 3. InfluxDB 3 Enterprise is recommended for historical query capability.

Using InfluxDB v2

InfluxDB v2 is a previous version. *** InfluxDB 3 Core for new deployments.

Enter the following command to start InfluxDB v2 initialized with custom configuration:

bash
docker run -d -p 8086:8086 \
  -v $PWD/data:/var/lib/influxdb2 \
  -v $PWD/config:/etc/influxdb2 \
  -e DOCKER_INFLUXDB_INIT_MODE=setup \
  -e DOCKER_INFLUXDB_INIT_USERNAME=my-user \
  -e DOCKER_INFLUXDB_INIT_PASSWORD=my-password \
  -e DOCKER_INFLUXDB_INIT_ORG=my-org \
  -e DOCKER_INFLUXDB_INIT_BUCKET=my-bucket \
  influxdb:2

After the container starts, visit http://localhost:8086 to view the UI.

For detailed instructions, see the https://docs.influxdata.com/influxdb/v2/install/use-docker-compose/.

Using InfluxDB v1

InfluxDB v1 is a previous version. *** InfluxDB 3 Core for new deployments.

bash
docker run -d -p 8086:8086 \
  -v $PWD:/var/lib/influxdb \
  influxdb:1.11

This starts InfluxDB v1 with:

  • HTTP API on port 8086
  • Data persisted to current directory

For more information, see the https://docs.influxdata.com/influxdb/v1/introduction/install/docker/. For v1 Enterprise installation, see the https://docs.influxdata.com/enterprise_influxdb/v1/introduction/installation/docker/.

Image Variants

The influxdb images come in many flavors, each designed for a specific use case.

influxdb:<version>

This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.

influxdb:<version>-alpine

This image is based on the popular [***] available in https://hub.docker.com/_/alpine. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

This variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use https://musl.libc.org instead of https://www.etalabs.net/compare_libcs.html, so software will often run into issues depending on the depth of their libc requirements/assumptions. See this Hacker News comment thread for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.

To minimize image size, it's uncommon for additional related tools (such as git or bash) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the https://hub.docker.com/_/alpine/ for examples of how to install packages if you are unfamiliar).

License

View https://github.com/influxdata/influxdb/blob/master/LICENSE for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in https://github.com/docker-library/repo-info/tree/master/repos/influxdb.

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

更多相关 Docker 镜像与资源

以下是 influxdb 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:

  • bitnami/influxdb Docker 镜像说明(Bitnami InfluxDB 时序数据库,适合 IoT 与监控指标存储)
  • tdengine/tdengine Docker 镜像说明(TDengine 时序数据库,适合物联网和工业数据存储)

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面

轩辕镜像加速拉取命令点我查看更多 influxdb 镜像标签

docker pull docker.xuanyuan.run/influxdb:<标签>

DockerHub 原生拉取命令

docker pull influxdb:<标签>

更多 influxdb 镜像推荐

influxdb/influxdb logo

influxdb/influxdb

influxdb
暂无描述
8 次收藏50万+ 次下载
10 年前更新
bitnamicharts/influxdb logo

bitnamicharts/influxdb

bitnamicharts
Bitnami Helm图表,用于在Kubernetes集群上部署开源时序数据库InfluxDB™ Core,支持内存、文件及云存储系统,适用于开发、测试与评估场景。
100万+ 次下载
12 个月前更新
openeuler/influxdb logo

openeuler/influxdb

openeuler
基于openEuler构建的官方InfluxDB Docker镜像,用于收集、处理、转换和存储事件及时间序列数据,支持实时摄入和快速查询响应,适用于构建用户界面、监控和自动化解决方案。
5.3千+ 次下载
1 个月前更新
bitnami/influxdb logo

bitnami/influxdb

Bitnami Secure Images(VMware Tanzu)
Bitnami Secure Image for InfluxDB是一款针对时序数据库InfluxDB开发的安全镜像,它通过预配置安全加固措施、定期漏洞修复及系统组件优化,确保InfluxDB部署时即具备可靠的安全防护能力;同时集成Bitnami简化部署流程,支持快速安装与运行,适用于企业级时序数据(如监控指标、日志记录等)存储与分析场景,帮助用户在保障数据安全的前提下高效构建稳定的时序数据管理平台。
15 次收藏500万+ 次下载
12 个月前更新
tutum/influxdb logo

tutum/influxdb

tutum
已弃用的InfluxDB镜像。详情请参见https://docs.docker.com/docker-cloud/migration/
222 次收藏1000万+ 次下载
9 年前更新
matisq/influxdb logo

matisq/influxdb

matisq
该镜像属于TIG监控工具栈(Telegraf+InfluxDB+Grafana)的一部分,用于存储Telegraf收集的Docker实例监控数据,并支持通过Grafana展示监控仪表盘。
1 次收藏50万+ 次下载
8 年前更新

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告