diff --git a/Dockerfile b/Dockerfile index 668d19c..f7c48c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ COPY docker-net-graph.py Pipfile Pipfile.lock ./ RUN pip install pipenv RUN pipenv install --system --deploy -CMD ["python", "docker-net-graph.py"] \ No newline at end of file +ENTRYPOINT ["python", "docker-net-graph.py"] \ No newline at end of file diff --git a/README.md b/README.md index 3d7316a..fb64812 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ as a neat graphviz graph. ## Example -![example graph](example.png) +![example graph](https://raw.githubusercontent.com/LeoVerto/docker-network-graph/master/example.png) ## Usage usage: docker-net-graph.py [-h] [-v] [-o OUT] @@ -39,3 +39,6 @@ and finally CTRL+C to generate the file. Alternatively, you can use [this website](https://dreampuf.github.io/GraphvizOnline/) for an online version of Graphviz. The recommended render engine is `fdp`. + +For more advanced use cases you can append arguments to the `docker run` +command as if you were running it in a local shell. \ No newline at end of file