Adam K Dean

Posts tagged with linux

Clean up k8s/Rancher

Published 10 December 2019 in archive with tags kubernetes , rancher , linux , docker This script is mostly for myself in the future. While playing around with Kubernetes and Rancher, machines become polluted with directories in /var, /etc, and /opt. Pollution is bad. This script will remove those as well as wiping down a system. Continue reading …

Reclaim your inodes by deleting dangling docker volumes

Published 8 September 2015 in archive with tags docker , linux , bash Note: these days, you can simply use docker volume prune, but this is being posted for posterity. This was an issue which caused lots of problems back in 2015, and determining ways of managing inode usage helped a number of platforms including Shopify, who took containerisation to a new level. Continue reading …

Copying files from one container to another

Published 7 June 2015 in archive with tags docker , linux , osx This only works on OS X as I'm using pbcopy and pbpaste. You may replace these as you see fit. Also I'm using superdocker here, you can swap that for docker if you like, it makes no difference. Continue reading …

Share directories between two containers

Published 1 June 2015 in archive with tags docker , linux Originally posted on June 1st, 2015 (more info) Continue reading …

Remove all exited containers

Published 27 May 2015 in archive with tags docker , linux This removes all exited containers. Continue reading …



Newer Page 1 of 3 Older