Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install influxDB distributed time series database in Docker

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how Docker installs influxDB distributed time series database. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Introduction to influxDB

InfluxDB is a distributed time series database. CAdvisor displays only real-time information, but does not store monitoring data. Therefore, we need to provide a time series database to store the monitoring information provided by the cAdvisor component in order to display the time series data except the real-time information.

InfluxDB installation

Pull the image

Docker pull tutum/influxdb

Start the container

# 18083 = > 8083 WEB port 8086 = > 8086 data port docker run-- name is_influx_db-p 18083name is_influx_db 8083-p 8086name is_influx_db 8086-- expose 8090-- expose 8099-di c061e5808198

Access test

Http://192.168.44.113:18083/

Create a database

CREATE DATABASE "cadvisor"

View the database

SHOW DATABASES

Create a user

CREATE USER "hf" WITH PASSWORD 'hf_123456' WITH ALL PRIVILEGES

View users

User authorization

# Grant database read and write permissions grant all privileges on cadvisor to cadvisor grant WRITE on cadvisor to cadvisor grant READ on cadvisor to cadvisor

View data information

SHOW MEASUREMENTS

On "Docker how to install influxDB distributed time series database" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, please share it out for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report