Skip to content
Prev 47861 / 63424 Next

Docker versus Vagrant for reproducability - was: The case for freezing CRAN

Dirk Eddelbuettel <edd at debian.org> writes:
These two tools look very interesting - but I have, even after reading a
few discussions of their differences, no idea which one is better suited
to be used for what has been discussed here: Making it possible to run
the analysis later to reproduce results using the same versions used in
the initial analysis.

Am I right in saying:

- Vagrant uses VMs to emulate the hardware
- Docker does not

wherefore
- Vagrant is slower and requires more space
- Docker is faster and requires less space

Therefore, could one say that Vagrant is more "robust" in the long run?

How do they compare in relation to different platforms? Vagrant seems to
be platform agnostic, I can develop and run on Linux, Mac and Windows -
how does it work with Docker? 

I just followed [1] and setup Docker on OSX - loos promising - it also
uses an underlying VM. SO both should be equal in regards to
reproducability in the long run?

Please note: I see these questions in the light of this discussion of
reproducability and not in regards to deployment of applications what
the discussions on the web are.

Any comments, thoughts, remarks?

Rainer


Footnotes: 
[1]  http://docs.docker.io/en/latest/installation/mac/

Thread (22 messages)

Terry Therneau The case for freezing CRAN Mar 20 R. Michael Weylandt The case for freezing CRAN Mar 20 Terry Therneau The case for freezing CRAN Mar 20 Kevin Coombes The case for freezing CRAN Mar 20 Dirk Eddelbuettel The case for freezing CRAN Mar 20 Greg Snow The case for freezing CRAN Mar 20 Karl Millar The case for freezing CRAN Mar 20 Carl Boettiger The case for freezing CRAN Mar 20 Marc Schwartz The case for freezing CRAN Mar 20 Marc Schwartz The case for freezing CRAN Mar 20 Rainer M Krug Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 21 Philippe GROSJEAN Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 21 Gábor Csárdi Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 21 Rainer M Krug Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 21 Gábor Csárdi Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 21 Philippe GROSJEAN Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 22 Nathaniel Smith Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 22 Kirill Müller Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 22 Dirk Eddelbuettel Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 22 Rainer M Krug Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 24 Rainer M Krug Docker versus Vagrant for reproducability - was: The case for freezing CRAN Mar 24 Geoff Jentry The case for freezing CRAN Mar 26