1、下载镜像
2、运行容器
docker run --name consul -d -p 8500:8500 --restart=always consul agent -server -bootstrap-expect=1 -ui -bind=0.0.0.0 -client=0.0.0.0 -config-dir /consul/config
3、界面访问
zhengwei-cq 2022-05-28 17:47 原文
1、下载镜像
2、运行容器
docker run --name consul -d -p 8500:8500 --restart=always consul agent -server -bootstrap-expect=1 -ui -bind=0.0.0.0 -client=0.0.0.0 -config-dir /consul/config
3、界面访问