Docker create two bridges that corrupts my internet access

前端 未结 3 2343
难免孤独
难免孤独 2021-02-20 14:14

I\'m facing a pretty strange issue:

Here is my config:

  • docker 17-ce
  • ubuntu 16.04.

I work from two differents places with differ

3条回答
  •  庸人自扰
    2021-02-20 14:51

    In my case I would not apply Clement solution because I have the network conflict only with my dev pc while the container is delivered to many server which are not affected. This problem in my opinion should be resolved as suggested here. I tried this workaround:

    1. I stopped the container with "docker-compose down" which destroys the bridge

    2. Started the container while I'm on the "bad" network, so the container use another network

    Since then, if I restart the container on any network it doesn't try to use the "bad" one, normally get the last used one.

提交回复
热议问题