Open
Description
The --data-path-addr
parameter allows configuration for the Services to be exposed on a different interface as described here:
https://docs.docker.com/engine/swarm/networking/#use-a-separate-interface-for-control-and-data-traffic. It is currently missing from the latest docker_swarm
module https://docs.ansible.com/ansible/latest/collections/community/docker/docker_swarm_module.html#ansible-collections-community-docker-docker-swarm-module
The Docker SDK for Python supports the param in the init()
and join()
functions (as data_path_addr
) and in the low-level APIs
init_swarm(advertise_addr=None, listen_addr='0.0.0.0:2377', force_new_cluster=False, swarm_spec=None, default_addr_pool=None, subnet_size=None, data_path_addr=None)
join_swarm(remote_addrs, join_token, listen_addr='0.0.0.0:2377', advertise_addr=None, data_path_addr=None)