From f4def95ebef8c9e8af5654a19ad2434c5212cb3e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 1 Nov 2016 22:41:54 +0100 Subject: Note about tmpfs --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 668e345..04c1a8f 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,12 @@ If you want history, add `-v ~/.iclean_history:/home/.iclean_history` and `touch You can add imports by creating a template in `~/.iclean_template`, then adding it to the container with `-v ~/.iclean_template:/home/.iclean_template`. +If you care about hard disk wear, add `--tmpfs /tmp:exec,size=1024k` to have iClean build on a ramdisk. + Make all this an alias: ``` -alias iclean="docker run --rm -it -v ~/.iclean_history:/home/.iclean_history -v ~/.iclean_template:/home/.iclean_template camilstaps/iclean" +alias iclean="docker run --rm -it --tmpfs /tmp:exec,size=1024k -v ~/.iclean_history:/home/.iclean_history -v ~/.iclean_template:/home/.iclean_template camilstaps/iclean" ``` ## Without Docker -- cgit v1.2.3