大多数容器为了精简容器体积,都会移除一些非必要的组件。如果要使用需要重新安装相关模块。 常见的容器内部一般都是可以通过apt命令进行安装模块的。 一、bash: ping: command not found root@ee4fe68eb726:/# ping bash: ping: command not found 解决办法 apt update && apt install iputils-ping -y 二、bas