docs: add docker pull tips (#17307)
* docs: add docker pull tips * docs: add docker pull tips
This commit is contained in:
parent
549cdfdac8
commit
139d04aa30
|
@ -5,13 +5,25 @@ title: Quick Install on Docker
|
||||||
|
|
||||||
This document describes how to install TDengine in a Docker container and perform queries and inserts.
|
This document describes how to install TDengine in a Docker container and perform queries and inserts.
|
||||||
|
|
||||||
- The easiest way to explore TDengine is through [TDengine Cloud](http://cloud.tdengine.com).
|
- The easiest way to explore TDengine is through [TDengine Cloud](http://cloud.tdengine.com).
|
||||||
- To get started with TDengine in a non-containerized environment, see [Quick Install from Package](../../get-started/package).
|
- To get started with TDengine in a non-containerized environment, see [Quick Install from Package](../../get-started/package).
|
||||||
- If you want to view the source code, build TDengine yourself, or contribute to the project, see the [TDengine GitHub repository](https://github.com/taosdata/TDengine).
|
- If you want to view the source code, build TDengine yourself, or contribute to the project, see the [TDengine GitHub repository](https://github.com/taosdata/TDengine).
|
||||||
|
|
||||||
## Run TDengine
|
## Run TDengine
|
||||||
|
|
||||||
If Docker is already installed on your computer, run the following command:
|
If Docker is already installed on your computer, pull the latest TDengine Docker container image:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull tdengine/tdengine:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
Or the container image of specific version:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull tdengine/tdengine:3.0.1.4
|
||||||
|
```
|
||||||
|
|
||||||
|
And then run the following command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine
|
docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine
|
||||||
|
|
|
@ -8,7 +8,19 @@ description: 使用 Docker 快速体验 TDengine 的高效写入和查询
|
||||||
|
|
||||||
## 启动 TDengine
|
## 启动 TDengine
|
||||||
|
|
||||||
如果已经安装了 Docker,只需执行下面的命令:
|
如果已经安装了 Docker,首先拉取最新的 TDengine 容器镜像:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull tdengine/tdengine:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
或者指定版本的容器镜像:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull tdengine/tdengine:3.0.1.4
|
||||||
|
```
|
||||||
|
|
||||||
|
然后只需执行下面的命令:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine
|
docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine
|
||||||
|
|
Loading…
Reference in New Issue