diff options
author | mtudosoiu <marian.tudosoiu@1and1.ro> | 2018-02-21 15:39:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-21 15:39:59 +0200 |
commit | f3af362c0b2403375f07bb864cd1ddadc6576060 (patch) | |
tree | b05ab4ad3cfd487706f9cb10f6785c7b51d7def9 | |
parent | 91d04073643f249d10ba8ac7249bbce9306b59c7 (diff) | |
download | vyos-build-f3af362c0b2403375f07bb864cd1ddadc6576060.tar.gz vyos-build-f3af362c0b2403375f07bb864cd1ddadc6576060.zip |
Task #556 Update README.md for Dockerfile
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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: ``` |