Add info about network size limits for swarm mode

This commit is contained in:
Misty Stanley-Jones 2017-11-02 14:59:43 -07:00
parent bd79ef8530
commit e9fa593562
1 changed files with 11 additions and 0 deletions

View File

@ -192,6 +192,17 @@ $ docker network create \
my-network my-network
``` ```
##### Overlay network size limitations
You should create overlay networks with `/24` blocks (the default), which limits
you to 256 IP addresses, when you create networks using the default VIP-based
endpoint-mode. This recommendation addresses
[limitations with swarm mode](https://github.com/moby/moby/issues/30820). If you
need more than 256 IP addresses, do not increase the IP block size. You can either
use `dnsrr` endpoint mode with an external load balancer, or use multiple smaller
overlay networks. See [Configure service discovery](#configure-service-discovery)
for more information about different endpoint modes.
#### Configure encryption of application data #### Configure encryption of application data
Management and control plane data related to a swarm is always encrypted. Management and control plane data related to a swarm is always encrypted.