If you quickly have to start a Consul docker image you can use the following command:

docker run -p 8400:8400 -p 127.0.0.1:8500:8500 -p 8600:8600/udp -h node1 consul agent -dev -client 0.0.0.0

This is especially useful for development purposes and quick tests and should not be used in a productive environment.

Like this post? Share on: TwitterFacebookEmail


Jens Frey Avatar Jens Frey is the creator of the datapile blog.

Keep Reading


Published

Category

Infrastructure

Tags

Stay in Touch