Small Alpine container with network, database and debugging tools for Kubernetes
5.1K
This is a very simple debug container based on alpine:3.24 which has an instance of supervisor running to ensure the container is kept running.
You can get this container by running docker pull ideaplexus/debug.
It runs as the non-root user debug (uid/gid 99) with /debug as its working directory.
The Dockerfile builds on linux/amd64 and linux/arm64; any other architecture fails the build with an explicit error.
bash — shell, including bash-completionbind-tools — dig, nslookup, hostcoreutils — full GNU variants of the busybox utilitiescurl — HTTP clientgrpcurl — gRPC clientjq — JSON processornano — editornet-tools — netstat, ifconfig, routenmap — port scanneropenldap-clients — ldapsearch, ldapwhoamiopenssh — ssh, scp, ssh-keygenyq — YAML processorsupervisor — keeps the container runningDatabase clients:
mariadb-client — mariadb (MySQL/MariaDB)postgresql18-client — psql, pg_dumpredis — redis-clivalkey-cli — valkey-climssql-tools18 — sqlcmd, bcp (in /opt/mssql-tools18/bin, not on PATH)make lint — lint the Dockerfile with hadolintmake build — build the image for the host architecture as ideaplexus/debugmake all — lint and buildCross-architecture builds go through a dedicated buildx builder, which make builder creates on
demand (the other targets depend on it):
make build-cross — build for all PLATFORMS and load the result into the local image storemake push-cross — build for all PLATFORMS and push the multi-platform imagemake builder-clean — remove the buildx builder againPLATFORMS defaults to linux/amd64,linux/arm64 and can be overridden, for example
make build-cross PLATFORMS=linux/arm64.
Cross builds emulate the foreign architecture inside the builder, so no host setup is needed to
build them. Loading a multi-platform image via make build-cross requires the containerd image
store, and running a foreign-architecture image additionally requires binfmt handlers on the host
(qemu-user-static and qemu-user-static-binfmt on Arch-based distributions).
Content type
Image
Digest
sha256:c214c5350…
Size
66.4 MB
Last updated
3 days ago
docker pull ideaplexus/debug