Skip to content
Prev 47889 / 63424 Next

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

Thanks everybody for their input - interesting suggestions and useful
information - thanks.

But I am still struggling to use this information. What I got so far:

1) I have decided to try docker [1]
2) Installed docker and boot2docker on a Mac via homebrew and it works
3) I found some Dockerfiles to create an image with R and ssh
4) The dockerfile runs and creates the image
5) I can interactively connect to the image by using bash and R is
running there
5) As I am using emacs /  ess, I want to use ssh do R stuff (other
suggestions welcome)

Problems:
1) I don't manage to connect to the running docker image following [2] -
I even managed to freeze my computer while trying.
2) Even if I could, I understand that the ssh port would be different each
time - not very nice. Is there a way of setting the port?

Questions:

1) Am I right in saying, that I have to use ssh to access the running
image, or is there a (faster?) alternative? I mean - I am working
locally and I don't need any encryption.

2) Would Vagrant make the process easier?

And finally:

I think it would be great if this information could be collected in a
wiki page, as I did not find anything about the usage scenario of docker
/ vagrant discussed here - I will certainly see that I blog about my
tries.

Cheers,

Rainer

Kirill M?ller <kirill.mueller at ivt.baug.ethz.ch> writes:
Footnotes: 
[1]  https://www.docker.io

[2]  http://docs.docker.io/en/latest/examples/running_ssh_service/
Message-ID: <m2r45sount.fsf@krugs.de>
In-Reply-To: <532DBCAB.7060708@ivt.baug.ethz.ch> ("Kirill \=\?utf-8\?Q\?M\?\= \=\?utf-8\?Q\?\=C3\=BCller\=22's\?\= message of "Sat, 22 Mar 2014 17:39:07 +0100")

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