Implement adding optional arguments to docker run
This commit is contained in:
parent
024bc9528a
commit
bfda8fc1eb
@ -22,7 +22,7 @@ run() {
|
||||
fi
|
||||
|
||||
mount_point="/mnt/$(basename "$here")"
|
||||
docker run --rm -ti -v "$here":"$mount_point" -w "$mount_point" debian-here "$@"
|
||||
docker run --rm -ti -v "$here":"$mount_point" -w "$mount_point" ${ARGS:-} debian-here "$@"
|
||||
}
|
||||
|
||||
run "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user