Skip to content

Commit

Permalink
Merge pull request nf-core#1405 from asp8200/remove_docker_userEmulation
Browse files Browse the repository at this point in the history
Removing docker.userEmulation
  • Loading branch information
maxulysse authored Feb 23, 2024
2 parents 3893bb5 + ac80ab9 commit 12d0867
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

- [#1405](https://github.com/nf-core/sarek/pull/1405) - Removing docker.userEmulation

### Dependencies

| Dependency | Old version | New version |
Expand Down
1 change: 0 additions & 1 deletion conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ if (System.getenv('PROFILE')) {
} else if ("$PROFILE" == "docker") {
conda.enabled = false
docker.enabled = true
docker.userEmulation = { params.use_gatk_spark ? false : true }.call()
charliecloud.enabled = false
podman.enabled = false
shifter.enabled = false
Expand Down
1 change: 0 additions & 1 deletion conf/test/cache.config
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ if (System.getenv('PROFILE')) {
} else if ("$PROFILE" == "docker") {
conda.enabled = false
docker.enabled = true
docker.userEmulation = { params.use_gatk_spark ? false : true }.call()
charliecloud.enabled = false
podman.enabled = false
shifter.enabled = false
Expand Down
4 changes: 0 additions & 4 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -769,10 +769,6 @@ Re-start your session.
Note that the way to increase the open file limit in your system may be slightly different or require additional steps.
### Cannot delete work folder when using docker + Spark
Currently, when running spark-based tools in combination with docker, it is required to set `docker.userEmulation = false`. This can unfortunately causes permission issues when `work/` is being written with root permissions. In case this happens, you might need to configure docker to run without `userEmulation` (see [here](https://github.com/Midnighter/nf-core-adr/blob/main/docs/adr/0008-refrain-from-using-docker-useremulation-in-nextflow.md)).
## How to handle UMIs
Sarek can process UMI-reads, using [fgbio](http://fulcrumgenomics.github.io/fgbio/tools/latest/) tools.
Expand Down
1 change: 0 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ profiles {
charliecloud.enabled = false
conda.enabled = false
docker.enabled = true
docker.userEmulation = { params.use_gatk_spark ? false : true }.call()
podman.enabled = false
shifter.enabled = false
docker.runOptions = '-u $(id -u):$(id -g)'
Expand Down

0 comments on commit 12d0867

Please sign in to comment.