fix some incorrect symbols before executing command

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
lixiaobing10051267 2016-09-13 20:24:31 +08:00 committed by Tibor Vass
parent cf8c2c21ac
commit e0c33c5988
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ process is returned by the `docker attach` command to its caller too:
$ docker run --name test -d -it debian
275c44472aebd77c926d4527885bb09f2f6db21d878c75f0a1c212c03d3bcfab
$ docker attach test
$$ exit 13
root@f38c87f2a42d:/# exit 13
exit
$ echo $?
13

View File

@ -546,7 +546,7 @@ more `--add-host` flags. This example adds a static address for a host named
`docker`:
$ docker run --add-host=docker:10.180.0.1 --rm -it debian
$$ ping docker
root@f38c87f2a42d:/# ping docker
PING docker (10.180.0.1): 48 data bytes
56 bytes from 10.180.0.1: icmp_seq=0 ttl=254 time=7.600 ms
56 bytes from 10.180.0.1: icmp_seq=1 ttl=254 time=30.705 ms