The docker container cannot ping the same www.baidu.com and has no ifconfig command

docker self-built bridging network,

clipboard.png

clipboard.png

clipboard.png
docker

clipboard.png

Mar.09,2021

not every image contains these instructions. For example, centos 7 defaults to

without ifconfig.

your image is from this https://github.com/jdeathe/ce.?

there are both centos7 and centos 6 in it. I wonder which one you are using?

ping does not work, related to dns setting. You can check your network settings through the ip instruction

I downloaded the latest jdeathe/centos-ssh, without ifconfig and ip instructions
if you need it, you can use

yum install iproute  -sharpip
yum install net-tools -sharpifconfig
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c39b-346c3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c39b-346c3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?