DebNet/__vp

8 lines
165 B
Plaintext

f() {
sudo docker run --rm -dit --privileged \
-v "$(pwd)/../app:/home/user/work" \
-p 4321:4321\
--name "$1" deb su - user;
};
f $1