This is a port of progrium/consul for the Raspberry Pi. The README gives usage details.
The github repository for this version is located at nimblestratus/docker-consul.
In order to run a single instance of the server (instead of the default 3) you can run it like this:
$(docker run --rm -e EXPECT=1 nimblestratus/rpi-consul cmd:run 192.168.1.125 -d )
192.168.1.125 with the host's IP address.