|
@ -79,7 +79,7 @@ $ docker pull busybox |
|
|
$ docker images |
|
|
$ docker images |
|
|
|
|
|
|
|
|
REPOSITORY TAG IMAGE ID CREATED VIRT |
|
|
REPOSITORY TAG IMAGE ID CREATED VIRT |
|
|
busybox latest c51f86c28340 4 weeks ago 1.10 |
|
|
|
|
|
|
|
|
busybox latest c51f86c28340 4 weeks ago 1.10 |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
#### c) 我们接下来继续尝试使用`docker run`命令来运行`busybox` |
|
|
#### c) 我们接下来继续尝试使用`docker run`命令来运行`busybox` |
|
@ -121,7 +121,7 @@ CONTAINER ID IMAGE COMMAND CREATED STATUS |
|
|
```bash |
|
|
```bash |
|
|
$ docker ps -a |
|
|
$ docker ps -a |
|
|
|
|
|
|
|
|
CONTAINER ID IMAGE COMMAND CREATED STATUS |
|
|
|
|
|
|
|
|
CONTAINER ID IMAGE COMMAND CREATED STATUS |
|
|
305297d7a235 busybox "uptime" 11 minutes ago Exited ( |
|
|
305297d7a235 busybox "uptime" 11 minutes ago Exited ( |
|
|
ff0a5c3750b9 busybox "sh" 12 minutes ago Exited ( |
|
|
ff0a5c3750b9 busybox "sh" 12 minutes ago Exited ( |
|
|
14e5bd11d164 hello-world "/hello" 2 minutes ago Exited ( |
|
|
14e5bd11d164 hello-world "/hello" 2 minutes ago Exited ( |
|
|