Expected behavior
Docker should apply network settings written in daemon.json
Actual behavior
Docker dosn’t do it
Information
In the steps to reproduce the behavior
Steps to reproduce the behavior
- I add settings:
{
“fixed-cidr”:“192.168.4.0/22”
}
in daemon.json file, located at c:\program files\docker.
Dockerd.exe located in the same location - Restart docker service
- Run a container
- After starting container, i type ipconfig and see network settings, which are default - the network is not that is written in daemon.json:
IPv4 Address. . . . . . . . . . . : 172.17.244.17
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . : 172.17.240.1
- How to resolve the problem ?