The Living Thing / Notebooks :

Containerized apps

Doing things that previously took 1.5 computers using 1 computer

Note

These are rapidly evolving standards. Check the timestamps on any advice.

The other, lighter, hipper alternative to virtual machines, which, AFAICT, attempts to make provisioning more like installing an app than building a computer, because it aims to containerise apps rather than OSes, which emphasis leads to less dicking around, but somehow even more webinars.

The apps must, AFAICT, be linux-ish, but various means exist to fake those into OSX or Windows.

Docker

The most common way of doing this.

Do you get the following error?

Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

According to thaJeztah, the solution is to use google DNS for docker. You can set this by providing a JSON configuration in the preference panel (under daemon -> advanced), e.g

{ "dns" : [ "8.8.8.8", "8.8.4.4" ]}

Building a container to do some reproducible research thing

Docker may not be the ultimate answer for reproducibility but it is a start. (TODO: fact-check the linked article.)

…How do you get your data in?

Tiffany Timbers gives a brisk run-through for academics.

Jon Zelner goes in-depth with R in a series culminating in continuous integration for science.

Handling passwords is fiddly - see secrets.

GUIs

[GUI comparison](https://blog.codeship.com/docker-guis/)

  • kitematic, already mentioned, is languishing but works. Windows, OSX
  • portainer is a docker gui that runs on docker, and therefor everywhere.

Not docker

Not yet relevant in my life.