ifconfig ping
apt install net-tools
apt install inetutils-ping
本地显示docker图片
#!/bin/bash
xhost +
docker run -itd -e DISPLAY
-e QT_X11_NO_MITSHM=1
-p 0000:22
-v /tmp/.X11-unix:/tmp/.X11-unix
-v $HOME/.Xauthority:/zcs/.Xauthority
–ipc=host
–name dl2c
–gpus all
-v /home/zcs/workspace:/root/workspace
cpp:v0 /bin/bash