Sign inSign up

weijuncug/consul

By weijuncug

Updated over 3 years ago

Image
0

215

weijuncug/consul repository overview

consul启动命令

consul agent --bootstrap --server --data-dir=/laymer/data/consul --client=0.0.0.0

可添加 -p 8500:8500 ,暴露8500端口到宿主机

可添加 -v /data/consul:/laymer/data/consul

运行建议

docker network create sangao # 创建网络

docker run --network sangao --network-alias consul -d weijuncug/consul:1.0.0 # 启动网络

Tag summary

Content type

Image

Digest

sha256:f8d60b54a

Size

99.8 MB

Last updated

over 3 years ago

docker pull weijuncug/consul:1.0.3