This commit is contained in:
@ -17,9 +17,9 @@ if [ "${DOCKER_USER-}" ]; then
|
||||
# Unfortunately we cannot change $HOME as we cannot move any bind mounts
|
||||
# nor can we bind mount $HOME into a new home as that requires a privileged container.
|
||||
|
||||
sudo chown -R "$DOCKER_USER":999 /home/coder
|
||||
sudo usermod --login "$DOCKER_USER" "$USER_HOME"
|
||||
sudo groupmod -n "$DOCKER_USER" "$USER_HOME"
|
||||
sudo chown -R "$DOCKER_USER":999 /home/coder
|
||||
#sudo printf "user: $DOCKER_USER\ngroup: $DOCKER_USER\n" > /etc/fixuid/config.yml
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user