Overview
- Full name
docker.io/apecloud/bash-busybox- Registry
- docker.io
- Namespace
- apecloud
- Repository
- bash-busybox
- Cached tags
- 2
- Last synced
- 07/06/2026, 07:28 PM
Introduction
ApeCloud bash+busybox 调试 Shell 镜像,含常用运维工具,用于 K8s Pod 故障排查或 init 探针,非业务应用容器。
Details
bash-busybox 将 bash、busybox applets 与 curl/wget 等打包为轻量调试镜像,常用于 kubectl debug 或 ephemeral container 进入生产 Pod 网络命名空间抓包。与 nicolaka/netshoot 相比更精简;不应作为长期 Deployment 对外提供服务。典型用法 --rm -it 交互排查,或 Job 中一次性执行脚本后退出。
快速启动
docker run --rm -it \
docker.io/apecloud/bash-busybox:latest \
bash
推荐实践
docker run --rm -it \
--network container:target-pod \
docker.io/apecloud/bash-busybox:1.36 \
sh -c "curl -s localhost:8080/health && nslookup kubernetes.default"
核心参数说明
--rm -it— 交互式一次性调试--network container:...— 共享目标容器网络栈bash/sh— 进入 shell 执行诊断命令- 固定 tag — busybox 1.36 工具集版本
- 非守护进程 — 无
-d长期运行场景 - K8s — 使用
kubectl debugephemeral 模式而非 Deployment
Latest tags (20)
View all 2 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/apecloud/bash-busybox :1.37.0-musl-curl | linux/amd64linux/arm64 | 2026/02/05 11:39 | 4.7 MB | sha256:5f39436aa815… | |||
docker.io/apecloud/bash-busybox :1.37.0-musl | linux/amd64linux/arm64 | 2025/06/24 17:32 | 1.9 MB | sha256:138b134e6bf5… |