Docker is a very useful containerisation platform. I use it so much that I regularly fill up /var/lib/docker with old images and get out of disk space errors. Unfortunately Docker has no automatic garbage collection mechanism to clean up unused images. I wrote a simple shell script which I run from time to time.
(more…)
Comments Off on docker-cleanup to garbage collect old images
I know, I know, shell scripting is a bad way to write software. I’ve always had a bit of a soft spot for bash though. Sure there are plenty of gotchas in bash scripting, but isn’t that the case for every programming language?
(more…)
So I was bored on the bus trip to work this morning. Back in Uni I’d thought about whether it would be possible to write an HTTP server as a shell script for bash. So I did it! Presenting bashttpd.
(more…)
Comments Off on bashttpd – the Bash HTTP server