Merge pull request #17389 from polarathene/docs/firewalld-remove-migration-notes

docs: Remove firewalld zone instructions
This commit is contained in:
David Karlsson 2023-10-30 09:59:18 +01:00 committed by GitHub
commit 33c36bc889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -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)