Docker Community Forums

Share and learn in the Docker community.

Docker container visible on 2 publics ip same time

hi

i got 2 internets provider, i got 2 network card eth0 and eth1

here my gateway ISP ip

192.168.1.1 provider 1
192.168.0.1 provider 2

How on docker-compose to use the 2 providers on the same time for my containers ?

For now only provider 1 is use by docker container

here my config for version 2

networks:
   websites:
    ipam:
      config:
        - subnet: 172.20.0.0/16
          ip_range: 172.28.5.0/24

Regards

I thought there are experts on this forum…

It is up to you to present your case - you choose to present it with least amount of details and it didn’t catch attention. Even experts are no magicians.