Docker学习——安装Seata

1、docker 拉取seata-server镜像

docker pull seataio/seata-server:latest

2、查看镜像是否拉取成功

docker image ls

Docker学习——安装Seata_第1张图片

3、docker启动seata-server

docker run --name seata-server01  -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

4、查看seata是否启动成功

Docker学习——安装Seata_第2张图片

你可能感兴趣的:(Docker)