Q:

Running the official consul docker image

I am trying to run the official docker image by doing the following
docker pull consul
docker run -d --name=dev-consul -p 8500:8500 consul

When I try to access the consul server using curl I get an empty reply 
   vagrant@docker:~$ curl localhost:8500/v1/catalog/nodes --verbose
* Hostname was NOT found in DNS cache
*   Trying ::1...
* Connected to localhost (::1) port 8500 (#0)
> GET /v1/catalog/nodes HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:8500
> Accept: */*
> 
* Empty reply from server
* Connection #0 to host localhost left intact
curl: (52) Empty reply from server

What am I missing?

A:

I start consul with:
docker run  -p 8500:8500 -p 8600:8600/udp --name=consul consul:v0.6.4 agent -server -bootstrap -ui -client=0.0.0.0

