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
+4
View File
@@ -15,6 +15,9 @@ echo "
=> Port $port the same internally and externally
"
userid=$(id -u)
usergroup=$(id -g)
docker run -it \
-v $mount:/mnt \
-v ~/.config/fish:/root/.config/fish \
@@ -22,5 +25,6 @@ docker run -it \
--name $name \
--hostname jh-dev-container-$name \
-p $port:$port \
-u $userid:$usergroup \
-w /mnt \
git.janishutz.com/registry/dev-container-npm