Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploying to a Docker container for reproducible workflow #589

Closed
januz opened this issue Nov 28, 2018 · 1 comment
Closed

deploying to a Docker container for reproducible workflow #589

januz opened this issue Nov 28, 2018 · 1 comment

Comments

@januz
Copy link

januz commented Nov 28, 2018

@wlandau Thank you so much for your work on the drake package! I only recently started using it and now can't imagine working without it anymore...

Over the last days, I I have been researching ways to package a drake workflow for a research project that I plan to publish as a research compendium and found @tiernanmartin's drakepkg. I have since worked on a fork of drakepkg (see here).

To encourage users to use a reproducible computational environment, I include a Dockerfile and a link to run the Docker container with the analysis package installed on Binderhub in the README of the Github repository. I would like to go one step further though and extend the reproduce_analysis() function by an option to deploy the processing to a Docker container by default. That way, users could use the same computational environment even when they install the package locally and one can ensure that they get a warning that re-running the analysis in their own environment without Docker doesn't ensure "complete" reproducibility.

Unfortunately, I don't understand how to deploy drake workflows to a Docker container. I have tried your example from here, but this results in a timeout error:

Error in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  : 
  reached elapsed time limit

The docker container seems to be started (i.e., it's listed when I run docker ps in the terminal). Do you have an idea what might be going wrong?

Thank you for your help!

@wlandau wlandau closed this as completed Nov 29, 2018
@wlandau wlandau reopened this Nov 29, 2018
@wlandau
Copy link
Member

wlandau commented Nov 29, 2018

@januz could we move this issue to wlandau/drake-examples#7?

@wlandau wlandau closed this as completed Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants