We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4c6e59 commit 7c78d1cCopy full SHA for 7c78d1c
cases/os/centos.md
@@ -10,17 +10,17 @@ CentOS(Community Enterprise Operating System,中文意思是:社区企业
10
11
### 使用 CentOS 官方镜像
12
13
-使用 `docker run` 直接运行最新的 `CentOS` 镜像,并登录 `bash`。
+使用 `docker run` 直接运行 `CentOS 7` 镜像,并登录 `bash`。
14
15
```bash
16
-$ docker run -it centos bash
+$ docker run -it centos:7 bash
17
Unable to find image 'centos:latest' locally
18
latest: Pulling from library/centos
19
3d8673bd162a: Pull complete
20
Digest: sha256:a66ffcb73930584413de83311ca11a4cb4938c9b2521d331026dad970c19adf4
21
Status: Downloaded newer image for centos:latest
22
[root@43eb3b194d48 /]# cat /etc/redhat-release
23
-CentOS Linux release 7.2.1511 (Core)
+CentOS Linux release 7.9.2009 (Core)
24
```
25
26
## Fedora 系统简介
0 commit comments