summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-12-18 17:38:03 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-12-18 17:48:11 +0100
commit7b18ebe99cf405871787862005dacc7f03434bb9 (patch)
tree4ec2da1c430aad05c7bef309585954d627599b31
parentdcfab1d08ec7a28d26db2d2071a9a99c13d663b1 (diff)
Clarify options of docker container creation script
Bug: SPEC-2031 Change-Id: I7580fede370abea7574c4a180d558d40e26160ae Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--docs/part-1/1-1_install-xds-server-docker.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/part-1/1-1_install-xds-server-docker.md b/docs/part-1/1-1_install-xds-server-docker.md
index 6807800..0d16815 100644
--- a/docs/part-1/1-1_install-xds-server-docker.md
+++ b/docs/part-1/1-1_install-xds-server-docker.md
@@ -54,8 +54,9 @@ inside and outside docker):
| $HOME/xds-workspace/.xdt_0 | /xdt | location to store SDKs |
| $USER_VOLUME | $USER_VOLUME | user path, see `--volume` option of `xds-docker-create-container.sh` script |
-<!-- section-note -->
-**Note:**
+### Optional settings
+
+**`--volume`**
You can add a new shared directory using `--volume` option in order
to use for example with Path-Mapping folder type.
@@ -65,6 +66,8 @@ to use for example with Path-Mapping folder type.
bash ./xds-docker-create-container.sh --volume /my-workspace:$HOME/my-workspace
```
+**`--id`**
+
You can change docker used port with `-id` option
```bash
@@ -76,8 +79,6 @@ docker ps | grep worker-xds
f67079db4339 docker.automotivelinux.org/agl/worker-xds:5.0 "/usr/bin/wait_for..." About a minute ago Up 34 seconds 0.0.0.0:(2222+ID)->22/tcp, 0.0.0.0:(8000+ID)->8000/tcp, 0.0.0.0:(10809+ID)->10809/tcp agl-xds-HOSTNAME-ID-USERNAME
```
-<!-- end-section-note -->
-
### Manually setup docker user id
<!-- section-note -->