Skip to content

Commit c63cdcd

Browse files
vdemeesterMisty Stanley-Jones
authored andcommitted
Merge pull request moby#26362 from lixiaobing10051267/masterIfconfig
rectify some response information while execute ifconfig in container (cherry picked from commit 0ebb181) Signed-off-by: Misty Stanley-Jones <[email protected]>
1 parent f1d590c commit c63cdcd

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

docs/userguide/networking/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ You can `attach` to a running `container` and investigate its configuration:
196196
$ docker attach container1
197197
198198
root@0cb243cd1293:/# ifconfig
199-
ifconfig
200199
eth0 Link encap:Ethernet HWaddr 02:42:AC:11:00:02
201200
inet addr:172.17.0.2 Bcast:0.0.0.0 Mask:255.255.0.0
202201
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
251250
$ docker attach container2
252251
253252
root@0cb243cd1293:/# ifconfig
254-
255253
eth0 Link encap:Ethernet HWaddr 02:42:AC:11:00:03
256254
inet addr:172.17.0.3 Bcast:0.0.0.0 Mask:255.255.0.0
257255
inet6 addr: fe80::42:acff:fe11:3/64 Scope:Link

0 commit comments

Comments
 (0)