Consul 的 Docker 镜像使用

1.镜像官方网址:https://hub.docker.com/_/consul
2.pull 镜像:

docker pull consul:1.6.0

3.创建容器(默认http管理端口:8500)

docker run -p 8500:8500 consul:1.6.0

4.访问管理网址

http://localhost:8500/
原文地址:https://www.cnblogs.com/cag2050/p/11471298.html