feat: run as current user

This commit is contained in:
2026-08-19 14:07:08 +02:00
parent b396d47a7a
commit 2b46cbae1e
8 changed files with 39 additions and 1 deletions
+5
View File
@@ -14,9 +14,14 @@ echo "
=> Starting container
"
userid=$(id -u)
usergroup=$(id -g)
docker run \
-v $mount:/home/jovyan/work \
--name $name \
-p $port:8888 \
-u $userid:$usergroup \
-e DOCKER_STACKS_JUPYTER_CMD=notebook \
quay.io/jupyter/base-notebook