diff options
author | Sebastien D <seb.douheret@gmail.com> | 2017-09-12 10:31:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 10:31:05 +0200 |
commit | f1ba9d6e9a69a5982ea4821a6b78f0ca5f224bc7 (patch) | |
tree | 5a5b75fdee827dff5dd2297758f1c580eefdc669 /README.md | |
parent | 1235b09cd15ea16acca061b47ec769d162bbb4e8 (diff) |
Fixed notes about docker user id setup
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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. |