Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
Multiple NIC and Docker containers

I'm trying to solve specific problem regarding Docker containers and routing.

A Docker host is running several network interfaces (3G USB modems), each having internet access. So, in short;

eth0 - WAN IP 1
ppp0 - WAN IP 2
ppp1 - WAN IP 3
ppp2 - WAN IP 4

How to specify which NIC each container should use if I want container to use a specific one?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Yes I ahed very similar issue. Unfortunately I had to use VirtualBox for this to work properly.

I have used Vagrant to create VirtualBox Virtual Machine and provisioned it with Ansible and then changed default route of that VM. Something like this:

route add default gw IP2

That would mean creating 4 different VM's but thats how I would approach the problem.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!