Skip to content

Commit 36e8b93

Browse files
authored
Merge pull request #19618 from dvdksn/docker-engine-debian-iptables-nft
engine: add note about nftables incompatibility to install docs
2 parents 3c4f5bf + 66b96d6 commit 36e8b93

File tree

3 files changed

+48
-15
lines changed

3 files changed

+48
-15
lines changed

content/engine/install/debian.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,23 @@ To get started with Docker Engine on Debian, make sure you
1818

1919
## Prerequisites
2020

21-
> **Note**
21+
### Firewall limitations
22+
23+
> **Warning**
2224
>
23-
> If you use ufw or firewalld to manage firewall settings, be aware that
24-
> when you expose container ports using Docker, these ports bypass your
25-
> firewall rules. For more information, refer to
26-
> [Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
25+
> Before you install Docker, make sure you consider the following
26+
> security implications and firewall incompatibilities.
27+
{ .warning }
28+
29+
- If you use ufw or firewalld to manage firewall settings, be aware that
30+
when you expose container ports using Docker, these ports bypass your
31+
firewall rules. For more information, refer to
32+
[Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
33+
- Docker is only compatible with `iptables-nft` and `iptables-legacy`.
34+
Firewall rules created with `nft` are not supported on a system with Docker installed.
35+
Make sure that any firewall rulesets you use are created with `iptables` or `iptables6`,
36+
and that you add them to the `DOCKER-USER` chain,
37+
see [Packet filtering and firewalls](../../network/packet-filtering-firewalls.md).
2738

2839
### OS requirements
2940

content/engine/install/raspberry-pi-os.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,23 @@ To get started with Docker Engine on Raspberry Pi OS, make sure you
2424

2525
## Prerequisites
2626

27-
> **Note**
27+
### Firewall limitations
28+
29+
> **Warning**
2830
>
29-
> If you use ufw or firewalld to manage firewall settings, be aware that
30-
> when you expose container ports using Docker, these ports bypass your
31-
> firewall rules. For more information, refer to
32-
> [Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
31+
> Before you install Docker, make sure you consider the following
32+
> security implications and firewall incompatibilities.
33+
{ .warning }
34+
35+
- If you use ufw or firewalld to manage firewall settings, be aware that
36+
when you expose container ports using Docker, these ports bypass your
37+
firewall rules. For more information, refer to
38+
[Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
39+
- Docker is only compatible with `iptables-nft` and `iptables-legacy`.
40+
Firewall rules created with `nft` are not supported on a system with Docker installed.
41+
Make sure that any firewall rulesets you use are created with `iptables` or `iptables6`,
42+
and that you add them to the `DOCKER-USER` chain,
43+
see [Packet filtering and firewalls](../../network/packet-filtering-firewalls.md).
3344

3445
### OS requirements
3546

content/engine/install/ubuntu.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,23 @@ To get started with Docker Engine on Ubuntu, make sure you
2626

2727
## Prerequisites
2828

29-
> **Note**
29+
### Firewall limitations
30+
31+
> **Warning**
3032
>
31-
> If you use ufw or firewalld to manage firewall settings, be aware that
32-
> when you expose container ports using Docker, these ports bypass your
33-
> firewall rules. For more information, refer to
34-
> [Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
33+
> Before you install Docker, make sure you consider the following
34+
> security implications and firewall incompatibilities.
35+
{ .warning }
36+
37+
- If you use ufw or firewalld to manage firewall settings, be aware that
38+
when you expose container ports using Docker, these ports bypass your
39+
firewall rules. For more information, refer to
40+
[Docker and ufw](../../network/packet-filtering-firewalls.md#docker-and-ufw).
41+
- Docker is only compatible with `iptables-nft` and `iptables-legacy`.
42+
Firewall rules created with `nft` are not supported on a system with Docker installed.
43+
Make sure that any firewall rulesets you use are created with `iptables` or `iptables6`,
44+
and that you add them to the `DOCKER-USER` chain,
45+
see [Packet filtering and firewalls](../../network/packet-filtering-firewalls.md).
3546

3647
### OS requirements
3748

0 commit comments

Comments
 (0)