From cc210f75a73369457854c27993fc92ab6a1cbf1b Mon Sep 17 00:00:00 2001 From: Kang Huaishuai Date: Sun, 6 Sep 2020 09:30:17 +0800 Subject: [PATCH] [install] Update CentOS8 Signed-off-by: Kang Huaishuai --- install/centos8.md | 24 ++++++++++++++++++++++++ install/ubuntu.md | 1 - 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/install/centos8.md b/install/centos8.md index 3b110d2..02778ff 100644 --- a/install/centos8.md +++ b/install/centos8.md @@ -3,3 +3,27 @@ 当前官方版本的 Docker CE [尚未支持][docker-docker] CentOS8,我们可以使用 Moby 项目维护者 AkihiroSuda 所构建的包,具体请参考 https://github.com/AkihiroSuda/moby-snapshot。 [docker-docker]:https://download.docker.com/linux/centos/ + +## 设置 + +由于 CentOS8 防火墙使用了 `nftables`,我们可以使用如下设置使用 `iptables` + +更改 `/etc/firewalld/firewalld.conf` + +```bash +# FirewallBackend=nftables +FirewallBackend=iptables +``` + +或者执行如下命令: + +```bash +$ firewall-cmd --permanent --zone=trusted --add-interface=docker0 + +$ firewall-cmd --reload +``` + +## 参考链接 + +* https://firewalld.org/2018/07/nftables-backend +* https://github.com/moby/libnetwork/issues/2496 diff --git a/install/ubuntu.md b/install/ubuntu.md index 0435b08..a13629b 100644 --- a/install/ubuntu.md +++ b/install/ubuntu.md @@ -9,7 +9,6 @@ Docker CE 支持以下版本的 [Ubuntu](https://ubuntu.com/server) 操作系统: * Ubuntu Focal 20.04 (LTS) -* Eoan 19.10 * Bionic 18.04 (LTS) * Xenial 16.04 (LTS)