从宿主进入容器
docker exec -it <<容器ID>> /bin/bash ... ... ...
安装Ping
apt-get update ..... ..... apt-get install iputils-ping ..... .....
从宿主进入容器
docker exec -it <<容器ID>> /bin/bash ... ... ...
安装Ping
apt-get update ..... ..... apt-get install iputils-ping ..... .....