change README
This commit is contained in:
parent
9b0c4efe56
commit
c0035c2b89
1 changed files with 4 additions and 4 deletions
|
@ -32,15 +32,15 @@ run this script inside a pre-built docker container:
|
||||||
```bash
|
```bash
|
||||||
build container
|
build container
|
||||||
|
|
||||||
docker build . -t simono41/docker-network-graph
|
docker build . -t code.brothertec.eu/simono41/docker-network-graph:latest
|
||||||
|
|
||||||
and create a PNG
|
and create a PNG
|
||||||
|
|
||||||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock simono41/docker-network-graph | dot -Tpng -o out.png
|
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock code.brothertec.eu/simono41/docker-network-graph:latest | dot -Tpng -o out.png
|
||||||
|
|
||||||
or as SVG
|
or as SVG
|
||||||
|
|
||||||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock simono41/docker-network-graph | dot -Tsvg -o out.svg
|
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock code.brothertec.eu/simono41/docker-network-graph:latest | dot -Tsvg -o out.svg
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ command as if you were running it in a local shell.
|
||||||
In most cases what you want to run are the following couple commands:
|
In most cases what you want to run are the following couple commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/simono41/docker-network-graph.git
|
git clone https://code.brothertec.eu/simono41/docker-network-graph.git
|
||||||
cd docker-network-graph
|
cd docker-network-graph
|
||||||
pipenv install
|
pipenv install
|
||||||
pipenv run python docker-network-graph.py -o output.svg
|
pipenv run python docker-network-graph.py -o output.svg
|
||||||
|
|
Loading…
Reference in a new issue