Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 1255e53e2890149df3c919af7aac88237069e1bb)
Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -1108,6 +1108,7 @@ The following daemon options must be configured for each daemon: |
| 1108 | 1108 |
-g, --graph=/var/lib/docker Root of the Docker runtime |
| 1109 | 1109 |
-p, --pidfile=/var/run/docker.pid Path to use for daemon PID file |
| 1110 | 1110 |
-H, --host=[] Daemon socket(s) to connect to |
| 1111 |
+--iptables=true Enable addition of iptables rules |
|
| 1111 | 1112 |
--config-file=/etc/docker/daemon.json Daemon configuration file |
| 1112 | 1113 |
--tlscacert="~/.docker/ca.pem" Trust certs signed only by this CA |
| 1113 | 1114 |
--tlscert="~/.docker/cert.pem" Path to TLS certificate file |
| ... | ... |
@@ -1126,6 +1127,10 @@ set this parameter separately for each daemon. |
| 1126 | 1126 |
- `-p, --pidfile=/var/run/docker.pid` is the path where the process ID of the daemon is stored. Specify the path for your |
| 1127 | 1127 |
pid file here. |
| 1128 | 1128 |
- `--host=[]` specifies where the Docker daemon will listen for client connections. If unspecified, it defaults to `/var/run/docker.sock`. |
| 1129 |
+- `--iptables=false` prevents the Docker daemon from adding iptables rules. If |
|
| 1130 |
+ multiple daemons manage iptables rules, they may overwrite rules set by |
|
| 1131 |
+ another daemon. Be aware that disabling this option requires you to manually |
|
| 1132 |
+ add iptables rules to expose container ports. |
|
| 1129 | 1133 |
- `--config-file=/etc/docker/daemon.json` is the path where configuration file is stored. You can use it instead of |
| 1130 | 1134 |
daemon flags. Specify the path for each daemon. |
| 1131 | 1135 |
- `--tls*` Docker daemon supports `--tlsverify` mode that enforces encrypted and authenticated remote connections. |