---
title: Containers on the default network bridge should restrict network traffic
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Containers on the default network
  bridge should restrict network traffic
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Containers on the default network bridge should restrict network traffic
Classification:complianceFramework:cis-dockerControl:2.2 
## Description{% #description %}

The default bridge network should restrict the traffic between its containers.

## Rationale{% #rationale %}

Containers on the default bridge can reach every port of each other. With inter-container communication off, the containers reach each other only through published ports, and those that must talk join a network of their own.

## Audit{% #audit %}

Show the options of the networks and look at the default bridge:

```bash
docker network ls --quiet | xargs docker network inspect --format '{{ .Name }}: {{ .Options }}'
```

Datadog passes the rule when the default bridge network has `com.docker.network.bridge.enable_icc` set to `false`, fails it otherwise, and reports it not applicable when the daemon has no default bridge, as with `"bridge": "none"`.

## Remediation{% #remediation %}

Set `icc` to false in `/etc/docker/daemon.json`:

```json
{
  "icc": false
}
```

Or start dockerd with `--icc=false`. Then restart the daemon with `systemctl restart docker`.

## Impact{% #impact %}

Containers on the default bridge reach each other only through published ports. Containers that need to talk should share a user-defined network.

## Default value{% #default-value %}

Inter-container communication on the default bridge is on.

## References{% #references %}

1. [https://docs.docker.com/engine/network/](https://docs.docker.com/engine/network/)
1. [https://github.com/docker/cli/blob/v20.10.1/man/dockerd.8.md](https://github.com/docker/cli/blob/v20.10.1/man/dockerd.8.md)
