From c63cdcd948cf2fed1fbbe7ace53e2ee9ecfa36b6 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Wed, 7 Sep 2016 11:25:25 +0200 Subject: [PATCH] Merge pull request #26362 from lixiaobing10051267/masterIfconfig rectify some response information while execute ifconfig in container (cherry picked from commit 0ebb18102f376ee42ecc97d159842737ff73568d) Signed-off-by: Misty Stanley-Jones --- docs/userguide/networking/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/userguide/networking/index.md b/docs/userguide/networking/index.md index c7491312df..cde49708e4 100644 --- a/docs/userguide/networking/index.md +++ b/docs/userguide/networking/index.md @@ -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