Skip to content

Commit

Permalink
Update hello-world example
Browse files Browse the repository at this point in the history
Signed-off-by: Kang Huaishuai <[email protected]>
  • Loading branch information
khs1994 committed Mar 14, 2021
1 parent 9fe6c35 commit 1e577a8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions install/centos.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ $ sudo usermod -aG docker $USER
## 测试 Docker 是否安装正确
```bash
$ docker run hello-world
$ docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788
b8dfde127a29: Pull complete
Digest: sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
Expand Down
6 changes: 3 additions & 3 deletions install/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ $ sudo usermod -aG docker $USER
## 测试 Docker 是否安装正确
```bash
$ docker run hello-world
$ docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788
b8dfde127a29: Pull complete
Digest: sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
Expand Down
6 changes: 3 additions & 3 deletions install/fedora.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ $ sudo usermod -aG docker $USER
## 测试 Docker 是否安装正确
```bash
$ docker run hello-world
$ docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788
b8dfde127a29: Pull complete
Digest: sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
Expand Down
8 changes: 4 additions & 4 deletions install/raspberry-pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ $ sudo usermod -aG docker $USER
## 测试 Docker 是否安装正确
```bash
$ docker run arm32v7/hello-world
$ docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788
4ee5c797bcd7: Pull complete
Digest: sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
Expand All @@ -125,7 +125,7 @@ This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
(arm32v7)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
Expand Down
6 changes: 3 additions & 3 deletions install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ $ sudo usermod -aG docker $USER
## 测试 Docker 是否安装正确
```bash
$ docker run hello-world
$ docker run --rm hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
d1725b59e92d: Pull complete
Digest: sha256:0add3ace90ecb4adbf7777e9aacf18357296e799f81cabc9fde470971e499788
b8dfde127a29: Pull complete
Digest: sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
Expand Down

0 comments on commit 1e577a8

Please sign in to comment.