diff options
-rw-r--r-- | docs/part-1/server-part.md | 14 |
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 |