We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0fcc3b commit f382e10Copy full SHA for f382e10
distrobox-create
@@ -920,6 +920,12 @@ generate_create_command()
920
# These flags are not supported by docker, so we use them only if our
921
# container manager is podman.
922
if echo "${container_manager}" | grep -q "podman"; then
923
+ # If possible, always prefer crun, as it allows keeping original groups.
924
+ # useful for rootless containers.
925
+ if command -v crun >/dev/null 2>&1; then
926
+ result_command="${result_command}
927
+ --runtime=crun"
928
+ fi
929
result_command="${result_command}
930
--annotation run.oci.keep_original_groups=1
931
--ulimit host"
0 commit comments