aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorParth Dode <dodecoder@gmail.com>2020-05-06 16:52:33 +0530
committerParth Dode <dodecoder@gmail.com>2020-05-06 19:33:15 +0530
commit04b0c56c2ae06645fd649cc00bf353f17e9007b9 (patch)
tree40457e15950b0554eec730ebff85499063dd1ae6 /docs
parentee6e20a935bf8e0cf88bb0aee8fbfba41da310fd (diff)
Added the Manually setup the docker password section.
This is my first commit Change-Id: Ibafdb5c94424e3a9ee1fac285a14b1d72679d035 Signed-off-by: Parth Dode <dodecoder@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/part-1/server-part.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/docs/part-1/server-part.md b/docs/part-1/server-part.md
index 97aae69..7d3cfd5 100644
--- a/docs/part-1/server-part.md
+++ b/docs/part-1/server-part.md
@@ -174,8 +174,7 @@ For more detailed `xds-server` configuration information including settings, see
If you are using path-mapping sharing type for your projects, you need to
have the same user ID and group ID inside and outside Docker.
-By default, user and group names inside Docker are `devel` and `1664`,
-respectively.
+By default, user, password and group names inside Docker are `devel`, `devel` and `1664`, respectively.
<!-- section-note -->
**NOTE:**
@@ -207,7 +206,18 @@ docker exec ${CONTAINER_NAME} bash -c "systemctl restart autologin"
# Restart xds-server as a service. The ssh port 2222 might depend on your container ID.
ssh -p 2222 devel@localhost -- "systemctl --user restart xds-server"
```
+### Manually setup the Docker Password
+If you forget the password set for the container , it might become a problem to ssh into the container and check on the files created.
+For such a time , you need to set up a new password for the container. Use the following commands to do just that:
+
+```bash
+# This will let you access the bash shell inside the container as root
+docker exec -it ${CONTAINER_NAME} /bin/bash
+
+# Change the password of the user (root or devel)
+passwd ${USER}
+```
### Check if xds-server is Running (open XDS webapp)
When the container starts up, `xds-server` automatically starts as a