Replies: 2 comments 5 replies
-
Neat idea. Do you have a public example of a workflow that uses Docker this way? Docker is blocked in my work's HPC environment, so I do not have hands-on practice with the technique you describe. I know |
Beta Was this translation helpful? Give feedback.
-
Glad to hear it.
Right, thanks. Now fixed. |
Beta Was this translation helpful? Give feedback.
-
I have an idea for a feature, wondering if others would find it useful.
tar_render()
is a key function for me to generate the final report of my analysis. However, rendering to PDF often requires many external dependencies (latex, various latex packages, pandoc, etc). I typically run my targets workflows within a docker container, so I make sure those are all available. However, recently I've started switching to a different mode: I version-control my R packages with renv, and call external programs that run in docker containers as needed*.Would it be possible to implement a slightly different version of
tar_render()
that has the same API but in the background runs everything in a container (e.g., rocker/verse)?*This is particularly useful for bioinformatics workflows, which rely on a large number of custom programs that each execute some step in the workflow. This way I can use the docker containers in a modular fashion across projects instead of creating one massive container that includes all of the needed programs for one project.
Beta Was this translation helpful? Give feedback.
All reactions