首页 > 技术文章 > consul系列文章01---docker安装consul

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、界面访问

 

推荐阅读