Merge branch 'master' into fabianlee
This commit is contained in:
commit
d30fd054ad
1 changed files with 17 additions and 13 deletions
30
README.md
30
README.md
|
@ -11,27 +11,28 @@ different ways, to help you understand what's going on inside the system.
|
||||||
* Download the [latest release](https://github.com/justone/dockviz/releases).
|
* Download the [latest release](https://github.com/justone/dockviz/releases).
|
||||||
* Set up an alias to run it from the (5.8 MB) docker image:
|
* Set up an alias to run it from the (5.8 MB) docker image:
|
||||||
|
|
||||||
```
|
```
|
||||||
# if docker client using local unix socket
|
# if docker client using local unix socket
|
||||||
alias dockviz="docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock nate/dockviz"
|
alias dockviz="docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock nate/dockviz"
|
||||||
|
|
||||||
# if docker client using tcp
|
# if docker client using tcp
|
||||||
alias dockviz="docker run -it --rm -e DOCKER_HOST='tcp://127.0.0.1:2375' nate/dockviz"
|
alias dockviz="docker run -it --rm -e DOCKER_HOST='tcp://127.0.0.1:2375' nate/dockviz"
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
```
|
|
||||||
2. Visualize images by running `dockviz images -t`, which has similar output to `docker images -t`.
|
2. Visualize images by running `dockviz images -t`, which has similar output to `docker images -t`.
|
||||||
* Image can be visualized as [Graphviz](http://www.graphviz.org), or as a tree or short summary in the terminal. Only Graphviz output has been implemented for containers.
|
* Image can be visualized as [Graphviz](http://www.graphviz.org), or as a tree or short summary in the terminal. Only Graphviz output has been implemented for containers.
|
||||||
* If you would like to visualize outside the container you will have to install [Graphviz](http://www.graphviz.org) first.
|
* If you would like to visualize outside the container you will have to install [Graphviz](http://www.graphviz.org) first.
|
||||||
|
|
||||||
```
|
```
|
||||||
apt-get update && apt-get install graphviz
|
apt-get update && apt-get install graphviz
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
```
|
```
|
||||||
brew update && brew install graphviz
|
brew update && brew install graphviz
|
||||||
```
|
```
|
||||||
|
|
||||||
# Output Examples
|
# Output Examples
|
||||||
|
|
||||||
|
@ -196,6 +197,9 @@ $ dockviz images -t -i -c
|
||||||
└─316b678ddf48 Size: 70822908 Tags: ubuntu:13.04, ubuntu:raring
|
└─316b678ddf48 Size: 70822908 Tags: ubuntu:13.04, ubuntu:raring
|
||||||
```
|
```
|
||||||
|
|
||||||
|
It is also possible to show the image's CreatedBy field, for help identifying
|
||||||
|
image layers when they show up with "<missing>" image Ids.
|
||||||
|
|
||||||
# Running
|
# Running
|
||||||
|
|
||||||
Dockviz supports connecting to the Docker daemon directly. It defaults to `unix:///var/run/docker.sock`, but respects the following as well:
|
Dockviz supports connecting to the Docker daemon directly. It defaults to `unix:///var/run/docker.sock`, but respects the following as well:
|
||||||
|
|
Loading…
Reference in a new issue