add sudo so docker can install consulfs

This commit is contained in:
Palm, Niek
2016-03-11 15:59:16 +00:00
parent 948691a7d6
commit 73b997faf7

View File

@@ -5097,7 +5097,7 @@ class: pic
- Be lazy and use the Docker image:
```
docker run --rm -v /usr/local/bin:/target jpetazzo/consulfs
sudo docker run --rm -v /usr/local/bin:/target jpetazzo/consulfs
```
]
@@ -5174,7 +5174,7 @@ Leave this running in the foreground.
- Install `consulfs` and mount Consul:
```
docker run --rm -v /usr/local/bin:/target jpetazzo/consulfs
sudo docker run --rm -v /usr/local/bin:/target jpetazzo/consulfs
mkdir ~/consul
consulfs localhost:8500 ~/consul
```