better docs for my arch toolbox

This commit is contained in:
2024-11-25 20:43:35 -05:00
parent e72b52ef18
commit 45b205b744

View File

@@ -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