Skip to content

Commit

Permalink
Merge pull request #19618 from dvdksn/docker-engine-debian-iptables-nft
Browse files Browse the repository at this point in the history
engine: add note about nftables incompatibility to install docs
  • Loading branch information
dvdksn authored Jul 9, 2024
2 parents 3c4f5bf + 66b96d6 commit 36e8b93
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 15 deletions.
21 changes: 16 additions & 5 deletions content/engine/install/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
21 changes: 16 additions & 5 deletions content/engine/install/raspberry-pi-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
21 changes: 16 additions & 5 deletions content/engine/install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 36e8b93

Please sign in to comment.