Skip to content

Commit 8aac067

Browse files
authored
Merge pull request #276 from florindragos/master
Update readme for networks and swarm on windows
2 parents 41b904f + 06f2cb1 commit 8aac067

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,12 @@ docker::networks::networks:
440440
441441
A defined network can be used on a `docker::run` resource with the `net` parameter.
442442

443+
#### Windows
444+
445+
On windows, only one NAT network is supported. To support multiple networks Windows Server 2016 with KB4015217 is required. See [Windows Container Network Drivers](https://docs.microsoft.com/en-us/virtualization/windowscontainers/container-networking/network-drivers-topologies) and [Windows Container Networking](https://docs.microsoft.com/en-us/virtualization/windowscontainers/container-networking/architecture).
446+
447+
The Docker daemon will create a default NAT network on the first start unless specified otherwise. To disable the network creation, use the parameter `bridge => 'none'` when installing docker.
448+
443449
### Volumes
444450

445451
Docker 1.9.x added support for volumes. These are *NOT* to be confused with the legacy volumes, now known as `bind mounts`. To expose the `docker_volume` type, which is used to manage volumes, add the following code to the manifest file:
@@ -579,6 +585,14 @@ To cluster your Docker engines, use one of the following Puppet resources:
579585
* [Swarm manager](#Swarm-manager)
580586
* [Swarm worker](#Swarm-worker)
581587

588+
#### Windows
589+
590+
To configure swarm, Windows Server 2016 requires KB4015217 and the following firewall ports to be open on all nodes:
591+
592+
* TCP port 2377 for cluster management communications
593+
* TCP and UDP port 7946 for communication among nodes
594+
* UDP port 4789 for overlay network traffic
595+
582596
#### Swarm manager
583597

584598
To configure the swarm manager, add the following code to the manifest file:

0 commit comments

Comments
 (0)