summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2021-06-17 16:53:05 +0100
committerSerge Schneider <serge@raspberrypi.com>2021-06-17 16:53:05 +0100
commit95ea0ba6963441cc1a65b2059a257b32773ae5b2 (patch)
tree7be12bf32facd6460fed3f5ebb2084df740e96a3 /README.md
parent071d3956353f2be964d2d337d3b123f1872b7f53 (diff)
parent4ebe5490d13f23626b7a45ed337d11e0106ccb47 (diff)
Merge branch 'master' into arm64
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 59f6a65..f0a757a 100644
--- a/README.md
+++ b/README.md
@@ -272,6 +272,10 @@ fix is to ensure `binfmt-support` is installed on the host machine before
starting the `./build-docker.sh` script (or using your own docker build
solution).
+### Passing arguments to Docker
+
+When the docker image is run various required command line arguments are provided. For example the system mounts the `/dev` directory to the `/dev` directory within the docker container. If other arguments are required they may be specified in the PIGEN_DOCKER_OPTS environment variable. For example setting `PIGEN_DOCKER_OPTS="--add-host foo:192.168.0.23"` will add '192.168.0.23 foo' to the `/etc/hosts` file in the container. The `--name`
+and `--privileged` options are already set by the script and should not be redefined.
## Stage Anatomy