From 7d738af4518f0083fcb3c1270bc58e82bf6224c8 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 18 Dec 2018 17:38:03 +0100 Subject: Clarify options of docker container creation script Bug: SPEC-2031 Change-Id: I7580fede370abea7574c4a180d558d40e26160ae Signed-off-by: Sebastien Douheret --- docs/part-1/1-1_install-xds-server-docker.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs') 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 | - -**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 ``` - - ### Manually setup docker user id -- cgit 1.2.3-korg