mirror of https://github.com/docker/docs.git
docs: Remove firewalld zone instructions
These were related to migrating to the `docker` zone support in new moby releases since integration landed in 2020H2.
This commit is contained in:
parent
5b486e383b
commit
a452d69c08
|
@ -160,16 +160,6 @@ on your system with `--iptables` enabled, Docker automatically creates a `firewa
|
||||||
zone called `docker` and inserts all the network interfaces it creates (for example,
|
zone called `docker` and inserts all the network interfaces it creates (for example,
|
||||||
`docker0`) into the `docker` zone to allow seamless networking.
|
`docker0`) into the `docker` zone to allow seamless networking.
|
||||||
|
|
||||||
Consider running the following `firewalld` command to remove the docker interface from the zone.
|
|
||||||
|
|
||||||
```console
|
|
||||||
# Please substitute the appropriate zone and docker interface
|
|
||||||
$ firewall-cmd --zone=trusted --remove-interface=docker0 --permanent
|
|
||||||
$ firewall-cmd --reload
|
|
||||||
```
|
|
||||||
|
|
||||||
Restarting `dockerd` daemon inserts the interface into the `docker` zone.
|
|
||||||
|
|
||||||
## Docker and ufw
|
## Docker and ufw
|
||||||
|
|
||||||
[Uncomplicated Firewall](https://launchpad.net/ufw)
|
[Uncomplicated Firewall](https://launchpad.net/ufw)
|
||||||
|
|
Loading…
Reference in New Issue