Merge pull request #19618 from dvdksn/docker-engine-debian-iptables-nft

engine: add note about nftables incompatibility to install docs
This commit is contained in:
David Karlsson 2024-07-09 07:14:15 +02:00 committed by GitHub
commit 36e8b935ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 48 additions and 15 deletions

View File

@ -18,12 +18,23 @@ To get started with Docker Engine on Debian, make sure you
## Prerequisites
> **Note**
### Firewall limitations
> **Warning**
>
> If you use ufw or firewalld to manage firewall settings, be aware that
> when you expose container ports using Docker, these ports bypass your
> firewall rules. For more information, refer to
> [Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
> Before you install Docker, make sure you consider the following
> security implications and firewall incompatibilities.
{ .warning }
- If you use ufw or firewalld to manage firewall settings, be aware that
when you expose container ports using Docker, these ports bypass your
firewall rules. For more information, refer to
[Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
- Docker is only compatible with `iptables-nft` and `iptables-legacy`.
Firewall rules created with `nft` are not supported on a system with Docker installed.
Make sure that any firewall rulesets you use are created with `iptables` or `iptables6`,
and that you add them to the `DOCKER-USER` chain,
see [Packet filtering and firewalls](../../network/packet-filtering-firewalls.md).
### OS requirements

View File

@ -24,12 +24,23 @@ To get started with Docker Engine on Raspberry Pi OS, make sure you
## Prerequisites
> **Note**
### Firewall limitations
> **Warning**
>
> If you use ufw or firewalld to manage firewall settings, be aware that
> when you expose container ports using Docker, these ports bypass your
> firewall rules. For more information, refer to
> [Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
> Before you install Docker, make sure you consider the following
> security implications and firewall incompatibilities.
{ .warning }
- If you use ufw or firewalld to manage firewall settings, be aware that
when you expose container ports using Docker, these ports bypass your
firewall rules. For more information, refer to
[Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
- Docker is only compatible with `iptables-nft` and `iptables-legacy`.
Firewall rules created with `nft` are not supported on a system with Docker installed.
Make sure that any firewall rulesets you use are created with `iptables` or `iptables6`,
and that you add them to the `DOCKER-USER` chain,
see [Packet filtering and firewalls](../../network/packet-filtering-firewalls.md).
### OS requirements

View File

@ -26,12 +26,23 @@ To get started with Docker Engine on Ubuntu, make sure you
## Prerequisites
> **Note**
### Firewall limitations
> **Warning**
>
> If you use ufw or firewalld to manage firewall settings, be aware that
> when you expose container ports using Docker, these ports bypass your
> firewall rules. For more information, refer to
> [Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
> Before you install Docker, make sure you consider the following
> security implications and firewall incompatibilities.
{ .warning }
- If you use ufw or firewalld to manage firewall settings, be aware that
when you expose container ports using Docker, these ports bypass your
firewall rules. For more information, refer to
[Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
- Docker is only compatible with `iptables-nft` and `iptables-legacy`.
Firewall rules created with `nft` are not supported on a system with Docker installed.
Make sure that any firewall rulesets you use are created with `iptables` or `iptables6`,
and that you add them to the `DOCKER-USER` chain,
see [Packet filtering and firewalls](../../network/packet-filtering-firewalls.md).
### OS requirements