Docker bridge address changes


Recommended Posts

On previous docker screens (as in prior to yesterday), all addresses were "192.168.0.5" with their associated ports listed after that.

 

172.x.x.x is totally new to me, I have never seen it on the docker screen before.

 

I could access all of my dockers via their 192.168.0.5:<port> addresses, however none of them could talk to each other.

 

I have now given each of them their own IP address on the br1 interface, and reconfigured all of them to talk among themselves using their new addresses.  A major PITA, but its working again.

 

No idea what happened.

Link to comment

Can you post a screenshot of the Docker page?

 

192.168.x.x addresses are likely assigned when containers are set to use a custom network (macvlan), while 172.17.x.x addresses are used as default when containers use a bridge network.

 

In other words it sounds your docker containers switched from a custom network to a bridge network. How is this possible? No clue! Normally only done by manual configuration.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.