Use full flags and...
move to the background. Having it in the foreground that you cannot easily exit out of is jarring. I am more than happy to remove the background flags, but I feel it is a better user user experience this way.
This commit is contained in:
parent
729465d7da
commit
5b68fc281a
13
README.md
13
README.md
@ -12,14 +12,17 @@ To quickly tryout cAdvisor on your machine with Docker (version 0.11 or above),
|
|||||||
|
|
||||||
```
|
```
|
||||||
sudo docker run \
|
sudo docker run \
|
||||||
-v /var/run:/var/run:rw \
|
--interactive=true \
|
||||||
-v /sys/fs/cgroup/:/sys/fs/cgroup:ro \
|
--tty=true \
|
||||||
-v /var/lib/docker/:/var/lib/docker:ro \
|
--volume=/var/run:/var/run:rw \
|
||||||
-p 0.0.0.0:8080:8080 \
|
--volume=/sys/fs/cgroup/:/sys/fs/cgroup:ro \
|
||||||
|
--volume=/var/lib/docker/:/var/lib/docker:ro \
|
||||||
|
--publish=8080:8080 \
|
||||||
|
--detach=true \
|
||||||
google/cadvisor
|
google/cadvisor
|
||||||
```
|
```
|
||||||
|
|
||||||
cAdvisor is now running (in the foreground) on `http://localhost:8080`. The setup includes directories with Docker state cAdvisor needs to observe.
|
cAdvisor is now running (in the background) on `http://localhost:8080`. The setup includes directories with Docker state cAdvisor needs to observe.
|
||||||
|
|
||||||
If you want to build your own cAdvisor Docker image, take a look at the Dockerfile which can build a cAdvisor docker container under `quickstart/Dockerfile`.
|
If you want to build your own cAdvisor Docker image, take a look at the Dockerfile which can build a cAdvisor docker container under `quickstart/Dockerfile`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user