This question is simply not download ping
root@828306f8d1da:/# Ping 172.18.0.4
bash:ping:command not found
Download it, please.
root@828306f8d1da:/# apt-get Install inetutils-ping Reading package ... Done building Dependency The Reading state information ... Done the following NEW packages is installed:inetutils-ping 0 upgraded, 1 newly installed, 0 to remove and not
Upgraded.
Need to get 56.9 KB of archives.
After this operation, 338 KB of additional disk space would be used. Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 inetutils-ping amd64 2:1.9.4-1build1 [56.9 KB] fetched 56.9 KB in 1s (35.7 kb/s) debconf:unable to initialize Frontend:dialog debconf: (No usable dialog-like Stalled, so the dialog based frontend cannot to be used.
AT/USR/SHARE/PERL5/DEBCONF/FRONTEND/DIALOG.PM line <> 1.)
Debconf:falling back to Frontend:readline selecting previously unselected package. (Reading database ...)
24501 files and directories currently installed.)
Preparing to unpack .../inetutils-ping_2%3a1.9.4-1build1_amd64.deb ... UnpackinG inetutils-ping (2:1.9.4-1build1) ... Setting up inetutils-ping (2:1.9.4-1build1) ...