mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-10 20:04:36 +00:00
Fix and improve
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
## 3.4 CentOS 安装 Docker
|
||||
|
||||
## CentOS 安装 Docker
|
||||
|
||||
CentOS(及其替代品 Rocky Linux、AlmaLinux)是企业级服务器常用的操作系统。本节介绍在这些系统上安装 Docker 的步骤。
|
||||
|
||||
>警告:切勿在没有配置 Docker YUM 源的情况下直接使用 yum 命令安装 Docker.
|
||||
|
||||
### 准备工作
|
||||
|
||||
### 准备工作
|
||||
|
||||
安装前请确认系统版本和内核版本满足 Docker 的运行要求。
|
||||
|
||||
@@ -41,7 +38,6 @@ $ sudo yum remove docker \
|
||||
|
||||
### 使用 yum 安装
|
||||
|
||||
### 使用 yum 安装
|
||||
|
||||
使用 yum/dnf 安装是管理 Docker 生命周期的标准方式。
|
||||
|
||||
@@ -219,6 +215,6 @@ $ sudo sysctl -p
|
||||
|
||||
### 参考文档
|
||||
|
||||
* [Docker 官方 CentOS 安装文档](https://docs.docker.com/install/linux/docker-ce/centos/)。
|
||||
* [Docker 官方 CentOS 安装文档](https://docs.docker.com/engine/install/centos/)。
|
||||
* https://firewalld.org/2018/07/nftables-backend
|
||||
* https://github.com/moby/libnetwork/issues/2496
|
||||
|
||||
Reference in New Issue
Block a user