Skip to content

Commit 078e794

Browse files
author
Shawn Siefkas
committed
Fixing ui extraction
1 parent d98b69b commit 078e794

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ADD https://dl.bintray.com/mitchellh/consul/0.4.1_linux_amd64.zip /tmp/consul.zi
55
RUN cd /bin && unzip /tmp/consul.zip && chmod +x /bin/consul && rm /tmp/consul.zip
66

77
ADD https://dl.bintray.com/mitchellh/consul/0.4.1_web_ui.zip /tmp/webui.zip
8-
RUN cd /tmp && unzip /tmp/webui.zip && mv dist /ui && rm /tmp/webui.zip
8+
RUN mkdir /ui && cd /ui && unzip /tmp/webui.zip && rm /tmp/webui.zip
99

1010
ADD https://get.docker.io/builds/Linux/x86_64/docker-1.2.0 /bin/docker
1111
RUN chmod +x /bin/docker

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ If you just want to run a single instance of Consul Agent to try out its functio
1616

1717
$ docker run -p 8400:8400 -p 8500:8500 -p 8600:53/udp -h node1 progrium/consul -server -bootstrap
1818

19+
The [Web UI](http://www.consul.io/intro/getting-started/ui.html) can be enabled by adding the `-ui-dir` flag:
20+
21+
$ docker run -p 8400:8400 -p 8500:8500 -p 8600:53/udp -h node1 progrium/consul -server -bootstrap -ui-dir /ui
22+
1923
We publish 8400 (RPC), 8500 (HTTP), and 8600 (DNS) so you can try all three interfaces. We also give it a hostname of `node1`. Setting the container hostname is the intended way to name the Consul Agent node.
2024

2125
Our recommended interface is HTTP using curl:

0 commit comments

Comments
 (0)