Merge pull request #26362 from lixiaobing10051267/masterIfconfig

rectify some response information while execute ifconfig in container
(cherry picked from commit 0ebb18102f)

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
This commit is contained in:
Vincent Demeester 2016-09-07 11:25:25 +02:00 committed by Misty Stanley-Jones
parent f1d590c45b
commit c63cdcd948

View file

@ -196,7 +196,6 @@ You can `attach` to a running `container` and investigate its configuration:
$ docker attach container1
root@0cb243cd1293:/# ifconfig
ifconfig
eth0 Link encap:Ethernet HWaddr 02:42:AC:11:00:02
inet addr:172.17.0.2 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:acff:fe11:2/64 Scope:Link
@ -251,7 +250,6 @@ To detach from a `container1` and leave it running use `CTRL-p CTRL-q`.Then, att
$ docker attach container2
root@0cb243cd1293:/# ifconfig
eth0 Link encap:Ethernet HWaddr 02:42:AC:11:00:03
inet addr:172.17.0.3 Bcast:0.0.0.0 Mask:255.255.0.0
inet6 addr: fe80::42:acff:fe11:3/64 Scope:Link