docs:cdiwadkar16-patch-4-67 - minor
This commit is contained in:
parent
27ccabaa6e
commit
0171ac5266
|
@ -3,15 +3,15 @@ sidebar_label: TDengine in Docker
|
|||
title: Deploy TDengine in Docker
|
||||
---
|
||||
|
||||
Even though it's not recommended to deploy TDengine using docker in production system, docker is still very useful in development environment, especially when your host is not Linux. From version 2.0.14.0, the official image of TDengine can support X86-64, X86, arm64, and rm32 .
|
||||
We do not recommend deploying TDengine using Docker in a production system. However, Docker is still very useful in a development environment, especially when your host is not Linux. From version 2.0.14.0, the official image of TDengine can support X86-64, X86, arm64, and rm32 .
|
||||
|
||||
In this chapter a simple step by step guide of using TDengine in docker is introduced.
|
||||
In this chapter we introduce a simple step by step guide to use TDengine in Docker.
|
||||
|
||||
## Install Docker
|
||||
|
||||
The installation of docker please refer to [Get Docker](https://docs.docker.com/get-docker/).
|
||||
To install Docker please refer to [Get Docker](https://docs.docker.com/get-docker/).
|
||||
|
||||
After docker is installed, you can check whether Docker is installed properly by displaying Docker version.
|
||||
After Docker is installed, you can check whether Docker is installed properly by displaying Docker version.
|
||||
|
||||
```bash
|
||||
$ docker -v
|
||||
|
@ -27,7 +27,7 @@ $ docker run -d -p 6030-6049:6030-6049 -p 6030-6049:6030-6049/udp tdengine/tdeng
|
|||
526aa188da767ae94b244226a2b2eec2b5f17dd8eff592893d9ec0cd0f3a1ccd
|
||||
```
|
||||
|
||||
In the above command, a docker container is started to run TDengine server, the port range 6030-6049 of the container is mapped to host port range 6030-6049. If port range 6030-6049 has been occupied on the host, please change to an available host port range. Regarding the requirements about ports on the host, please refer to [Port Configuration](/reference/config/#serverport).
|
||||
In the above command, a docker container is started to run TDengine server, the port range 6030-6049 of the container is mapped to host port range 6030-6049. If port range 6030-6049 has been occupied on the host, please change to an available host port range. For port requirements on the host, please refer to [Port Configuration](/reference/config/#serverport).
|
||||
|
||||
- **docker run**: Launch a docker container
|
||||
- **-d**: the container will run in background mode
|
||||
|
@ -95,7 +95,7 @@ In TDengine CLI, SQL commands can be executed to create/drop databases, tables,
|
|||
|
||||
### Access TDengine from host
|
||||
|
||||
If `-p` used to map ports properly between host and container, it's also able to access TDengine in container from the host as long as `firstEp` is configured correctly for the client on host.
|
||||
If option `-p` used to map ports properly between host and container, it's also able to access TDengine in container from the host as long as `firstEp` is configured correctly for the client on host.
|
||||
|
||||
```
|
||||
$ taos
|
||||
|
|
Loading…
Reference in New Issue