docker_practice/install/centos8.md

30 lines
786 B
Go
Raw Normal View History

# CentOS8 Docker
Docker [][docker-docker] CentOS8使 Moby AkihiroSuda https://github.com/AkihiroSuda/moby-snapshot
[docker-docker]:https://download.docker.com/linux/centos/
##
CentOS8 使 `nftables` Docker `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