summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormtudosoiu <marian.tudosoiu@1and1.ro>2018-02-21 15:39:59 +0200
committerGitHub <noreply@github.com>2018-02-21 15:39:59 +0200
commitf3af362c0b2403375f07bb864cd1ddadc6576060 (patch)
treeb05ab4ad3cfd487706f9cb10f6785c7b51d7def9 /README.md
parent91d04073643f249d10ba8ac7249bbce9306b59c7 (diff)
downloadvyos-build-f3af362c0b2403375f07bb864cd1ddadc6576060.tar.gz
vyos-build-f3af362c0b2403375f07bb864cd1ddadc6576060.zip
Task #556 Update README.md for Dockerfile
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index fb68595a..4955ce56 100644
--- a/README.md
+++ b/README.md
@@ -58,11 +58,14 @@ To build the docker image
docker build -t vyos-builder $PATH_TO_Dockerfile
```
-To run and the docker image once is created:
+To run the docker image:
```
docker run --privileged -v /HOST_PATH/images:/vyos --name=vyos_node_builder -d vyos-builder bash
```
+* docker container must be run with --privileged flag
+* is recommended to run the container with a volume mapped in order to easy exprort images built
+to the "external" world
To connect to the docker image once is running:
```