Docker containers View ip address

 

The first step: the container enters centos7: yum install net-tools -y

 


 

 


 

I have been here loads, so I did not continue to load

Step two: You can enter ifconfig to view ip address after loading is complete

 

Guess you like

Origin www.cnblogs.com/gaozhanghappy/p/10955186.html