---
title: 'Docker Settings'
url: 'https://docs.danami.com/juggernaut/settings/firewall/docker-settings'
markdown: 'https://docs.danami.com/juggernaut/settings/firewall/docker-settings.md'
date: '2026-09-22'
description: 'Docker - DOCKER Enable the configuration of iptables rules to allow Docker containers to communicate through the host. If the generated rules do not work with your setup you will have to use a /etc/csf/csfpost.sh file and add your own iptables configuration instead. Default: 0 Range: 0-1 Docker Dev…'
taxonomy:
  category:
    - docs
  tag:
    - docker
---

[](#)  [ Basics ](https://docs.danami.com/juggernaut/)     [ Settings Reference ](https://docs.danami.com/juggernaut/settings)     [ Firewall ](https://docs.danami.com/juggernaut/settings/firewall)      Docker Settings    

# Docker Settings

**Docker** - `DOCKER`
Enable the configuration of iptables rules to allow Docker containers to communicate through the host. If the generated rules do not work with your setup you will have to use a /etc/csf/csfpost.sh file and add your own iptables configuration instead.
Default: 0 Range: 0-1

**Docker Device** - `DOCKER_DEVICE`
The Docker network device on the host.
Default: docker0

**Docker IPv4 range** - `DOCKER_NETWORK4`
Docker container IPv4 range.
Default: 172.17.0.0/16

**Docker IPv6 range** - `DOCKER_NETWORK6`
Docker container IPv6 range. IPV6 must be enabled and the IPv6 nat table available. Leave blank to disable.
Default: 2001:db8:1::/64

 [ ](https://docs.danami.com/juggernaut/command-line-interface/firewall/firewall-docker)

---

## Navigation

- Parent: [Firewall](https://docs.danami.com/juggernaut/settings/firewall.md)
- Previous: [Portknocking Settings](https://docs.danami.com/juggernaut/settings/firewall/portknocking-settings.md)
