mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-10 20:04:36 +00:00
Use a better structure
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# [CentOS](https://hub.docker.com/_/centos)
|
||||
## [CentOS](https://hub.docker.com/_/centos)
|
||||
|
||||
## 基本信息
|
||||
### 基本信息
|
||||
|
||||
[CentOS](https://en.wikipedia.org/wiki/CentOS) 是流行的 Linux 发行版,其软件包大多跟 RedHat 系列保持一致。
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
该仓库位于 `https://hub.docker.com/_/centos`,提供了 CentOS 从 5 ~ 8 各个版本的镜像(仅作为历史归档,不再更新)。
|
||||
|
||||
## 使用方法
|
||||
### 使用方法
|
||||
|
||||
使用 Rocky Linux 9 替代(**推荐**):
|
||||
|
||||
@@ -27,6 +27,6 @@ $ docker run --name rocky -it rockylinux:9 bash
|
||||
$ docker run --name centos -it centos:7 bash
|
||||
```
|
||||
|
||||
## Dockerfile
|
||||
### Dockerfile
|
||||
|
||||
请到 https://github.com/docker-library/docs/tree/master/centos 查看。
|
||||
|
||||
Reference in New Issue
Block a user