ten-simple-rules-dockerfiles
ten-simple-rules-dockerfiles copied to clipboard
New projects, packages, ideas for follow ups, new revisions, etc.
The paper is "finished", but if we really follow up with a CRAN Task View Containerisation, then we can keep the collection of container-related works up to date. Let's collect "new" packages and projects or things we missed in the article here, until we know where to publish them.
docknitr: Using Docker in Rmarkdown to run chunks - https://cran.r-project.org/web/packages/docknitr/vignettes/docknitr.html
- mention BioContainers as source for base images: https://biocontainers.pro/#/ - via this Tweet and potentially involve @ypriverol
Rule 11 by Kovačević
COPY Dockerfile /
Via https://twitter.com/kovmil/status/1326334135896518661
@kovmil I'll think about this a little bit more, but my spontaneous reaction is: it would have been great you'd seen the preprint!
Will most definitely do! And yeah, copying the Dockerfile to the image's root folder can do wonders with Dockerfile code reuse.
Screenshot from https://journals.plos.org/ploscompbiol/article/comment?id=10.1371/annotation/d538b698-fbf5-4318-8e45-c421d2495b8c

- Mentions option to freeze whole APT repositories to a specific date, e.g. http://neuro.debian.net/pkgs/neurodebian-freeze.html - I think this is indeed a god option
- Mentions https://github.com/ReproNim/neurodocker/ as a tool, though I would have the concern here that
neurodockeris a CLI tool to generate aDockerfile, which might not be accessible to many users, but it allows to enforce good practices within the generatedDockerfile - Mentions https://github.com/datalad/datalad-container/ and
git-annex- would have to look more closely, first reaction would be thatgit-annexgoes to far for the target audience, but is could be a nice way to snapshot/version control the actual exported image
There are some interesting ideas here! I noticed that there are some highlights/comments on the OSF preprint too. It might be worth keeping an eye on that for more useful suggestions.
Good to see our friend Yaroslav contributing some great points!
On Wed, Nov 25 2020, Daniel Nüst wrote:
Screenshot from https://journals.plos.org/ploscompbiol/article/comment?id=10.1371/annotation/d538b698-fbf5-4318-8e45-c421d2495b8c
- Mentions option to freeze whole APT repositories to a specific date, e.g. http://neuro.debian.net/pkgs/neurodebian-freeze.html - I think this is indeed a god option
- Mentions https://github.com/ReproNim/neurodocker/ as a tool, though I would have the concern here that
neurodockeris a CLI tool to generate aDockerfile, which might not be accessible to many users, but it allows to enforce good practices within the generatedDockerfile- Mentions https://github.com/datalad/datalad-container/ and
git-annex- would have to look more closely, first reaction would be thatgit-annexgoes to far for the target audience, but is could be a nice way to snapshot/version control the actual exported image
All hail @yarikoptic!
Great to see my humble comments to the great paper are taken into consideration ;) we also have WiP script to help to backup all docker images for a repository into git-annex (well -- datalad-container extension) for posterity/backup/re-sharing/whatever
https://uwekorn.com/2021/03/03/deploying-conda-environments-in-docker-cheatsheet.html
(via https://twitter.com/xhochy/status/1367194297330786311?s=09)