cannot create file with Nextflow Docker #2456
Unanswered
lizihuang1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to used Nextflow Docker from DockerHub (https://hub.docker.com/r/nextflow/nextflow). A simplest file was created:
#!/usr/bin/env nextflow
process readme {
output:
file "readme.txt"
}
The command is "docker run -it --rm
-v /home/Zhuang/data/trf:/home/Zhuang/data/trf
-w /home/Zhuang/data/trf
nextflow/nextflow:21.10.0 nextflow run /home/Zhuang/data/trf/code/trftmp/main.nf ".
And I got the error "NOTE: Missing output file(s)
readme.txt
expected by processreadme ([:])
". No readme.txt was created in work dir.Everything was fine when I run without docker ("nextflow/nextflow:21.10.0 nextflow run
home/Zhuang/data/tractoflow/code/tractoflowtmp/main.nf").
Does anyone have any ideas? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions