docker pull tdengine/tdengine:2. 6. 0. 34
docker run - d -- name td2. 6 -- restart=always - p 6030:6030 - p 6041:6041 - p 6043:6043 - p 6044-6049:6044-6049 - p 6044-6045:6044-6045/udp - p 6060:6060 tdengine/tdengine:2. 6. 0. 34
docker run - d -- name td2. 6 -- restart=always - v D:\software\docker\td2. 6\data :/ var / lib/taos - v D:\software\docker\td2. 6\data \logs:/ var / log/taos - p 6030:6030 - p 6041:6041 - p 6043:6043 - p 6044-6049:6044-6049 - p 6044-6045:6044-6045/udp - p 6060:6060 tdengine/tdengine:2. 6. 0. 34
docker ps
docker ps - a
docker start stop restart rm <container_id_or_name>
docker images
docker save tdengine/tdengine:2. 6. 0. 34 - o D:\download\tdengine2. 6. 0. 34. tar
docker load - i D:\download\tdengine2. 6. 0. 34. tar
容器守护进程 重启策略
--restart
docker run --restart = always images