nanxstats / liftr

🐳 Containerize R Markdown documents for continuous reproducibility
https://nanx.me/liftr/
GNU General Public License v3.0
171 stars 20 forks source link

Dangling container cleaner #27

Closed nanxstats closed 6 years ago

nanxstats commented 7 years ago

From https://github.com/road2stat/liftr/issues/25

One thing might be useful is an orphan cleaning option, because every time you compile a document (I did it a lot) it creates a new container and it can get quite big if you don't pay attention. I solved it with a command line in the Makefile. So if there is a way to integrate an option to launch docker rmi $(docker images -f dangling=true -q), it will be nice.

nanxstats commented 6 years ago

Solved by https://github.com/road2stat/liftr/commit/7f0cda863058b589dd9344f00bb34eae55bc5e68