From 3211c1ba8ae69f364d5b99874a6503a9b6c588ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Sat, 7 Oct 2017 19:24:07 +0200 Subject: [PATCH] Add data-path option --- docs/index.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/index.html b/docs/index.html index 2fdf9ea9..96c28c6e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1446,6 +1446,26 @@ docker swarm init --advertise-addr eth0:7777 --- +class: extra-details + +## Using a separate interface for the data path + +- You can use different interfaces (or IP addresses) for control and data + +- You set the _control plane path_ with `--advertise-addr` + + (This will be used for SwarmKit manager/worker communication, leader election, etc.) + +- You set the _data plane path_ with `--data-path-addr` + + (This will be used for traffic between containers) + +- Both flags can accept either an IP address, or an interface name + + (When specifying an interface name, Docker will use its first IP address) + +--- + ## Token generation - In the output of `docker swarm init`, we have a message