How To Start A Consul Docker Image

less than 1 minute read

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.

Updated: