大网数据广告活动
服务器运维问答

Common image to debug Kubernetes

· 52CE 我爱测

I am looking for a common container image which I can use to debug things in Kubernetes. busybox does not work, since it has a bug with nslookup . alpine does not contain curl . ubuntu does not contain curl . I would like to have…

问题原文

原帖链接 · guettli · CC BY-SA 4.0

I am looking for a common container image which I can use to debug things in Kubernetes.

busybox does not work, since it has a bug with nslookup.

alpine does not contain curl.

ubuntu does not contain curl.

I would like to have some common tools like: nslookup, netstat, dig, curl, traceroute, tcptraceroute, ...

I know that I could apt update; apt install ... but I would like to have an image which is ready to use.

已采纳解答

原帖链接 · guettli · CC BY-SA 4.0

Netshoot:

https://github.com/nicolaka/netshoot

Purpose: Docker and Kubernetes network troubleshooting can become complex. With proper understanding of how Docker and Kubernetes networking works and the right set of tools, you can troubleshoot and resolve these networking issues. The netshoot container has a set of powerful networking tshooting tools that can be used to troubleshoot Docker networking issues. Along with these tools come a set of use-cases that show how this container can be used in real-world scenarios.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2022-02-26)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。