Could a container bind a specific network interface to reach external network ? - Omnic Guru

This topic contains 0 replies, has 1 voice, and was last updated by  JoeClark 3 months, 1 week ago.

  • Author
  • #3221



      I knew container can bind the exposed port to a specific network interface. But I think it’s works only for traffic which comes from external network to container.
      I would like to assign a specific interface to a container so that the container can reach external network from the interface.
      For example, I have two interface, eth0 and eth1. I want to bind a container to eht0. When Executing command “ping” in a container, the traffic should reach external network from eth0 consequently.
      Could it be possible and how to achieve it ?

      Please help.

      I didn’t find the right solution from the Internet.


      video explainer

    Viewing 1 post (of 1 total)

    You must be logged in to reply to this topic.