Replies: 1 comment 2 replies
-
You may be trying to create a script that invokes your docker and passthrough all arguments ie.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using a nextflow workflow within a shared resource HPC center where docker is not directly accessible. Rather, docker invocation is wrapped in a script with a known location, so if a user wants they will simply replace docker with that path to that script. Sudo privileges also required.
Is it possible to invoke docker this way with nextflow? When I run the workflow out of the box I see the following error message:
So far, I've tried the following approaches --
beforeScript "alias docker='/path/to/docker/script'"
sudo = true
beforeScript "alias docker='sudo /path/to/docker/script'"
Looking at the generated
.command.run
file it's apparent that steps above are being placed in the code, but I'm still not having any success.Any suggestions would be so appreciated!
Beta Was this translation helpful? Give feedback.
All reactions