7.4 Ensure that all Docker swarm overlay networks are encrypted

Information

Ensure that all Docker swarm overlay networks are encrypted.

Rationale:

By default, data exchanged between containers on nodes on the overlay network is not encrypted. This could potentially expose traffic between containers.

Impact:

None

Solution

You should create overlay networks the with --opt encrypted flag.

Default Value:

By default, data exchanged in overlay networks in Docker swarm mode is not encrypted.

See Also

https://workbench.cisecurity.org/files/4244