Skip to content

docker swarm model networks support --network host or not? #25873

@fanux

Description

@fanux

First of all, the docker swarm model is very convenient for us, easy to use and deploy.
But our application need share host network witch swarm model is not support now.

The reason why we need share host network is:

  • Our application is audio engine, each node only run one container, overlay or other network model drop down network speed and consume more CPU.
  • There are two network interfaces on our machine,independence from each other, for example, eth0:172.0.0.3 for command transmission and eth1:192.168.0.4 for data transmission, both of then are physics network interface, and link to different switch. An application container will use then at a same time. How overlay network solve this problem, two overlay networks on same node?
  • We don't have the load balance requirement.

We need the --network host model badly, it is the simplest way to solve all the problems of us,and the achieve best performance.

@thaJeztah

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions