A minimal, long-running Alpine Linux container preloaded with common network diagnostic tools. Useful as a sidecar, jump pod, or troubleshooting container in Kubernetes/Docker environments where you need curl, dig, ping, traceroute, etc. without installing them on demand.
docker run -d --name keepalive <user>/mini-keep-alive
docker exec -it keepalive shThe container runs sleep infinity so it stays up until stopped.
- Base:
alpine:3.20 - Platform:
linux/amd64 - Entrypoint:
sleep infinity
| Package | Provides |
|---|---|
curl |
HTTP/HTTPS client |
wget |
HTTP/FTP downloader |
iproute2 |
ip, ss, tc |
net-tools |
ifconfig, netstat, route, arp |
iputils |
ping, tracepath, arping |
bind-tools |
dig, nslookup, host |
busybox-extras |
telnet, tftp, additional BusyBox apps |
tzdata |
Timezone data |
ca-certificates |
Root CA bundle for TLS |
kubectl run debug --image=<user>/mini-keep-alive --restart=Never
kubectl exec -it debug -- shservices:
netdebug:
image: <user>/mini-keep-alive
network_mode: service:appdocker run --rm <user>/mini-keep-alive curl -sI https://example.comDockerfile and issues: https://github.com/zheyi-zhu/mini-keep-alive