./app mounted -> /work

! todo
error poniewaz mamy app z s8, skad to?
This commit is contained in:
baiobelfer 2024-10-22 09:39:44 +02:00
parent 326934280d
commit 32fa5dcde0
1 changed files with 6 additions and 0 deletions

6
__v Normal file
View File

@ -0,0 +1,6 @@
f() {
sudo docker run --rm -dit --privileged \
-v "$(pwd)/app:/home/user/work" \
--name "$1" deb su - user;
};
f $1