How does windows-docker modify the network segment of docker0 Bridge

  docker, question

Docker environment built with docker-toolbox on windows
By default, the docker0 bridge is 172.17.0.1 and the LAN are not on the same network segment.
May I know how to modify this ip?

A lot of people said that it was modified through a series of brctl commands, but there was no such command in boot2docker, and all attempts at installation failed.

1. View the network

$docker network ls
 $docker network inspect bridge

You can create your own network.
I think you are wrong. docker0 is only the default 172.17.0.1. This is the default bridge network card

$docker network create   ....

You can specify the network that you feel happy about yourself.

2. Modify the NIC address of docker0
Docker0 is the network link layer of the osi7-layer model

clipboard.png