centos refer to centos:8, deprecated

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/498/head
Kang Huaishuai 2022-02-24 21:06:15 +08:00
parent d4c6e590c6
commit 7c78d1c256
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
1 changed files with 3 additions and 3 deletions

View File

@ -10,17 +10,17 @@ CentOSCommunity Enterprise Operating System中文意思是社区企业
### 使 CentOS
使 `docker run` `CentOS` `bash`
使 `docker run` `CentOS 7` `bash`
```bash
$ docker run -it centos bash
$ docker run -it centos:7 bash
Unable to find image 'centos:latest' locally
latest: Pulling from library/centos
3d8673bd162a: Pull complete
Digest: sha256:a66ffcb73930584413de83311ca11a4cb4938c9b2521d331026dad970c19adf4
Status: Downloaded newer image for centos:latest
[root@43eb3b194d48 /]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
CentOS Linux release 7.9.2009 (Core)
```
## Fedora