Skip to content

Cannot configure fixed-cidr in Docker for Windows via Whaley UI #625

@asmagin

Description

@asmagin

Expected behavior

If network subnet is set to 192.168.100.0/24 after you click "Apply" network should be set to 192.168.100.0/24

Actual behavior

Network subnet is set to 172.24.240.1/20

Get-NetNat

Name                             : H04d942b9-c959-4521-871b-f56a4d480972
ExternalIPInterfaceAddressPrefix :
InternalIPInterfaceAddressPrefix : 172.24.240.1/20
IcmpQueryTimeout                 : 30
TcpEstablishedConnectionTimeout  : 1800
TcpTransientConnectionTimeout    : 120
TcpFilteringBehavior             : AddressDependentFiltering
UdpFilteringBehavior             : AddressDependentFiltering
UdpIdleSessionTimeout            : 120
UdpInboundRefresh                : False
Store                            : Local
Active                           : True

Information

  • Diagnostic ID - 7573C298-D8A5-4650-9B38-4DC2A1FD80A5/2017-04-07_12-51-08
  • host distribution and version
Containers: 3
 Running: 0
 Paused: 0
 Stopped: 3
Images: 35
Server Version: 17.04.0-ce
Storage Driver: windowsfilter
 Windows:
Logging Driver: json-file
Plugins:
 Volume: local
 Network: l2bridge l2tunnel nat null overlay transparent
Swarm: inactive
Default Isolation: hyperv
Kernel Version: 10.0 14393 (14393.953.amd64fre.rs1_release_inmarket.170303-1614)
Operating System: Windows 10 Pro
OSType: windows
Architecture: x86_64
CPUs: 8
Total Memory: 15.82GiB
Name: ASMAGIN
ID: SP5F:S6FV:AW6K:PG34:OEQZ:7BTN:26BX:RFRH:E56P:YZBH:K2WM:HYXV
Docker Root Dir: C:\ProgramData\Docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

Steps to reproduce the behavior

  1. Open Docker Setting in tray
  2. Open Daemon setting
  3. Switch to advanced setting
  4. Update configuration like:
{
  "registry-mirrors": [],
  "insecure-registries": [],
  "debug": true,
  "experimental": false,
  "fixed-cidr": "192.168.100.0/24"
}
  1. Click apply
  2. Inspect nat network with powrshell Get-NetNat or docker network inspect nat

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions