engine: add note about nftables incompatibility to install docs

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-03-13 15:20:43 +01:00
parent 7e5929d9d5
commit 66b96d6337
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