Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
65a37708
Unverified
Commit
65a37708
authored
Jan 26, 2026
by
jh-nv
Committed by
GitHub
Jan 26, 2026
Browse files
chore: do not default to privileged mode when mounting workspace. (#5644)
parent
aecf0051
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
container/run.sh
container/run.sh
+1
-5
No files found.
container/run.sh
View file @
65a37708
...
@@ -264,10 +264,6 @@ get_options() {
...
@@ -264,10 +264,6 @@ get_options() {
HF_HOME
=
$DEFAULT_HF_HOME
HF_HOME
=
$DEFAULT_HF_HOME
fi
fi
if
[
-z
"
${
PRIVILEGED
}
"
]
;
then
PRIVILEGED
=
"TRUE"
fi
ENVIRONMENT_VARIABLES+
=
" -e HF_TOKEN"
ENVIRONMENT_VARIABLES+
=
" -e HF_TOKEN"
fi
fi
...
@@ -348,7 +344,7 @@ show_help() {
...
@@ -348,7 +344,7 @@ show_help() {
echo
" [--image image]"
echo
" [--image image]"
echo
" [--framework framework one of
${
!FRAMEWORKS[*]
}
]"
echo
" [--framework framework one of
${
!FRAMEWORKS[*]
}
]"
echo
" [--name name for launched container, default NONE]"
echo
" [--name name for launched container, default NONE]"
echo
" [--privileged whether to launch in privileged mode, default FALSE
unless mounting workspace
]"
echo
" [--privileged whether to launch in privileged mode, default FALSE]"
echo
" [--dry-run print docker commands without running]"
echo
" [--dry-run print docker commands without running]"
echo
" [--hf-home|--hf-cache directory to volume mount as the hf home, default is NONE unless mounting workspace]"
echo
" [--hf-home|--hf-cache directory to volume mount as the hf home, default is NONE unless mounting workspace]"
echo
" [--gpus gpus to enable, default is 'all', 'none' disables gpu support]"
echo
" [--gpus gpus to enable, default is 'all', 'none' disables gpu support]"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment