I wish I could run ncdu
in Unraid but it does not ship there.
Docker does though, can’t I use that?
1 | $ docker run ncdu |
Hmm… nope. Well I know how to get ncdu, can I teach docker how?
1 | # Need a place within which to write a Dockerfile... |
Now I can run ncdu
in Unraid.
Looks like a neat pattern that comes down to 2 things. Installation and Usage.
We are using docker as a given while populating “taps” (Guess I am stealing a concept from Homebrew) in which we define how to acquire/install a particular tool followed by usage deployed as a binstub or shim or what have you.
If I notice this happening a lot maybe I’ll do something about it like make a public registry of these things for different architectures and load it behind a simple curl installer or a plugin to asdf or something like that.
Thank you for reading. I hope you enjoyed it and learned something useful.