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 -p 8600:8600/udp -h node1 consul agent -dev -client

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