docker 安装 seata nacos

https://www.cnblogs.com/zyb2016/p/14747862.html

 

 

 

 

docker pull nacos/nacos-server:latest

docker pull seataio/seata-server:latest

docker login

 

docker exec -it 68d2830c555a  /bin/bash 

 docker run --name seata-server  -d -p 8891:8091  -e SEATA_IP=192.168.2.220  -v /usr/local/docker/seata/conf:/root/seata-config -v /usr/local/docker/seata/logs:/root/logs/seata  seataio/seata-server

 

 

docker run --name seata -d \

-e SEATA_PORT=8091 \
-v /opt/seata/conf/registry.conf:/seata-server/resources/registry.conf \
-v /opt/seata/logs:/root/logs \
--privileged=true \
-p 8091:8091 \
 seataio/seata-server
 
 

 

docker run --name seata-server -d -p 8891:8091 -e SEATA_IP=10.100.84.47 -v /usr/local/docker/seata/conf/registry.conf:/seata-server/resources/registry.conf -v /usr/local/docker/seata/logs:/root/logs/seata seataio/seata-server

 

 

 

 

 

 

posted @ 2021-08-24 13:59  小蚊子大人KN  阅读(202)  评论(0编辑  收藏  举报