Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

200
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda