aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSebastien D <seb.douheret@gmail.com>2017-09-12 10:31:05 +0200
committerGitHub <noreply@github.com>2017-09-12 10:31:05 +0200
commitf1ba9d6e9a69a5982ea4821a6b78f0ca5f224bc7 (patch)
tree5a5b75fdee827dff5dd2297758f1c580eefdc669 /README.md
parent1235b09cd15ea16acca061b47ec769d162bbb4e8 (diff)
Fixed notes about docker user id setup
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0895e2a..7512aba 100644
--- a/README.md
+++ b/README.md
@@ -84,16 +84,20 @@ If you plan to **use path-mapping sharing type for your projects**, you need to
seb@laptop ~$ export CONTAINER_NAME=agl-xds-seb@laptop-0-seb
# First stop xds-server
-seb@laptop ~$ docker exec ${CONTAINER_NAME} bash -c ""
+seb@laptop ~$ docker exec ${CONTAINER_NAME} bash -c "systemctl stop xds-server"
# Change user and group id inside docker to match your ids
seb@laptop ~$ docker exec ${CONTAINER_NAME} bash -c "usermod -u $(id -u) devel"
seb@laptop ~$ docker exec ${CONTAINER_NAME} bash -c "groupmod -g $(id -g) devel"
# Update some files ownership
-seb@laptop ~$ docker exec ${CONTAINER_NAME} bash -c "chown -R devel:devel /home/devel /tmp/xds"
+seb@laptop ~$ docker exec ${CONTAINER_NAME} bash -c "chown -R devel:devel /home/devel /tmp/xds*"
+
+# Restart xds-server
+seb@laptop ~$ docker exec ${CONTAINER_NAME} bash -c "systemctl start xds-server"
```
+## Check if xds-server is running (open XDS Dashboard)
**`xds-server` is automatically started** as a service on container startup.