docker_practice/install/centos8.md

30 lines
754 B
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# CentOS8 Docker CE
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