8000 docker overlay network · Issue #29 · atosatto/ansible-dockerswarm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docker overlay network #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hoodox opened this issue Jul 12, 2017 · 3 comments
Open

docker overlay network #29

hoodox opened this issue Jul 12, 2017 · 3 comments

Comments

@hoodox
Copy link
hoodox commented Jul 12, 2017

Hi its not really an issue here but are there any plans to have docker overlay network?

At the moment I noticed you have network bridging in the code.

It would be good to have an option to either choose bridging or overlay.

Thanks
Chung

@SergK
Copy link
Contributor
SergK commented Jul 12, 2017

Hi @hoodox this patch #23 should be merged and you can provide custom parameters to docker, overlay network as well

@SergK
Copy link
Contributor
SergK commented Jul 12, 2017

ah your are talking about network driver, i was just thinking about storage driver...

@hoodox
Copy link
Author
< 7552 a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="false" data-hovercard-type="user" data-hovercard-url="/users/hoodox/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/hoodox">hoodox commented Jul 13, 2017

I was thinking of the network driver.
Snippet from your swarm_cluster.yml:- if we add the highlighted bit below we can have a network_driver_type where this can either be bridge or overlay or someOther3rdParty

-- name: Create a custom swarm network
docker_network:
name: docker_gwbridge
driver: "{{ network_driver_type }}"
driver_options:
com.docker.network.bridge.enable_icc: "false"
com.docker.network.bridge.enable_ip_masquerade: "true"
com.docker.network.bridge.name: docker_gwbridge
ipam_options:
subnet: "{{ docker_swarm_network }}"
gateway: "{{ docker_swarm_network | ipaddr('net') | ipaddr('1') | ipaddr('ip') }}"
tags:
- skip_ansible_lint # Suppressing the linter
when: docker_swarm_network is defined and docker_swarm_network | ipaddr('net')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0