From 45b205b744599073d6cccbc7fad5977d01a779ee Mon Sep 17 00:00:00 2001 From: ducoterra Date: Mon, 25 Nov 2024 20:43:35 -0500 Subject: [PATCH] better docs for my arch toolbox --- .../graduated/fedora/fedora-kinoite.md | 40 ++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/infrastructure/graduated/fedora/fedora-kinoite.md b/infrastructure/graduated/fedora/fedora-kinoite.md index d917922..1d84f47 100644 --- a/infrastructure/graduated/fedora/fedora-kinoite.md +++ b/infrastructure/graduated/fedora/fedora-kinoite.md @@ -20,7 +20,10 @@ - [Pods](#pods) - [Bambu Studio](#bambu-studio) - [Toolbox](#toolbox) - - [Custom image](#custom-image) + - [Reese's Arch Toolbox](#reeses-arch-toolbox) + - [Using Reese's Arch Toolbox](#using-reeses-arch-toolbox) + - [Updating Reese's Arch Toolbox](#updating-reeses-arch-toolbox) + - [Building Reese's Arch Toolbox](#building-reeses-arch-toolbox) ## Podman @@ -217,18 +220,45 @@ I'd recommend adding this alias to your `.bashrc` to make things easier alias tbox='SHELL=zsh toolbox enter arch-toolbox-latest' ``` -### Custom image +### Reese's Arch Toolbox -I have a custom arch image based on the default arch-toolbox image. It installs some -extras (python, vim, kubectl, etc.) and sets up zsh with a decent default zshrc. +I have a custom arch image based on the default arch-toolbox image. It offers: -If you're just looking to run the image do this: +- zsh with many completions installed/enabled +- vim +- nslookup +- iperf3 +- kubectl +- helm +- nethogs +- python, pip, and pipx +- ansible +- aws cli +- ollama (add `export OLLAMA_HOST=my.ollama.host` to your `.zshrc` to use a remote host) +- podman (connected automatically to the host machine via the unix socket) + +#### Using Reese's Arch Toolbox ```bash toolbox create -i gitea.reeseapps.com/services/arch-toolbox:latest SHELL=/bin/zsh toolbox enter arch-toolbox-latest ``` +#### Updating Reese's Arch Toolbox + +```bash +# Stop the current arch toolbox +podman container stop arch-toolbox-latest +# Remove the old container +podman container rm arch-toolbox-latest +# Pull the new image +podman pull gitea.reeseapps.com/services/arch-toolbox:latest +# Start with the new image +toolbox create -i gitea.reeseapps.com/services/arch-toolbox:latest +``` + +#### Building Reese's Arch Toolbox + You can build and run the image wit this (See `Containerfile` in this directory): ```bash