A debug container for Kubernetes. Because kubectl exec into an alpine container with nothing but sh is not fun.
This project was created out of a need for a user-like zsh/bash shell for testing https://github.com/jessegoodier/kpf completions.
The best way to use this is with the main combined image, which includes tools for all three major clouds:
kubectl run debug --rm -it --image=ghcr.io/jessegoodier/toolbox -- zshMain image (toolbox):
- All common tools (see below)
- AWS CLI
- Google Cloud SDK (
gcloud,gsutil) - Azure CLI (
az)
Common base image (toolbox-common):
openssl,kubectl,curl,wget,jq,yqdig,nslookup,doggo,mtr,ping,netcat,tcpdumphtop,strace,lsof,psripgrep,rclone,tree,less,filefzf,fd,ezaneovim,gitbash+zshwith completions, syntax highlighting, autosuggestions- Python 3.14 +
uv
Cloud-specific images (lighter alternatives):
toolbox-aws- AWS CLI onlytoolbox-gcp- Google Cloud SDK onlytoolbox-azure- Azure CLI only
All images are multi-arch (amd64/arm64) and rebuilt daily.
# All-in-one (Recommended)
kubectl run debug --rm -it --image=ghcr.io/jessegoodier/toolbox -- zsh
# Specific cloud provider
kubectl run debug --rm -it --image=ghcr.io/jessegoodier/toolbox-aws -- zsh
# Minimal (Common tools only)
kubectl run debug --rm -it --image=ghcr.io/jessegoodier/toolbox-common -- zsh| Image | Description |
|---|---|
ghcr.io/jessegoodier/toolbox |
(Recommended) Combined tools for AWS, GCP, and Azure |
ghcr.io/jessegoodier/toolbox-common |
Base image with common tools |
ghcr.io/jessegoodier/toolbox-aws |
+ AWS CLI |
ghcr.io/jessegoodier/toolbox-gcp |
+ gcloud |
ghcr.io/jessegoodier/toolbox-azure |
+ az CLI |
# Dry run (no push)
./build_images.sh
# Push to registry
PUSH=true ./build_images.shDo whatever you want with it. If it breaks your cluster, you get to keep both pieces.