File tree 2 files changed +6
-4
lines changed
modules/nextflow/src/main/groovy/nextflow/container
plugins/nf-wave/src/main/io/seqera/wave/plugin/cli
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -124,9 +124,11 @@ class ContainerConfig extends LinkedHashMap {
124
124
final eng = getEngine()
125
125
if ( ! eng )
126
126
return null
127
- if ( eng== ' docker' || eng== ' podman' )
128
- return ' --rm --privileged'
129
- if ( isSingularityOciMode() )
127
+ if ( eng== ' docker' )
128
+ return ' --rm --device /dev/fuse --security-opt apparmor=unconfined --security-opt seccomp=unconfined'
129
+ if ( eng== ' podman' )
130
+ return ' --rm --device /dev/fuse'
131
+ if ( singularityOciMode() )
130
132
return ' -B /dev/fuse'
131
133
if ( eng== ' singularity' || eng== ' apptainer' )
132
134
return null
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ class WaveDebugCmd {
118
118
119
119
protected WaveRunCmd buildWaveRunCmd (String scheme ) {
120
120
final result = new WaveRunCmd (session)
121
- result. withContainerParams([tty :true , privileged : true ])
121
+ result. withContainerParams([tty :true ])
122
122
if ( scheme== ' s3' ) {
123
123
result. withEnvironment(' AWS_ACCESS_KEY_ID' )
124
124
result. withEnvironment(' AWS_SECRET_ACCESS_KEY' )
You can’t perform that action at this time.
0 commit comments