Docker Community Forums

Share and learn in the Docker community.

Network created not saved when virtual machine running docker is shutdown and restarted

(Pkoutsogilas) #1

Hi All,

I’m running Windows Server 2019 core in a VM on Windows 10 using Hype-V.
I create a new network using “docker network create -d transparent --subnet=” --gateway= tlan".

The network gets created just fine:

C:\Users\Administrator>docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
dbe4bafba7e8        nat                 nat                 local
adf10dc109bb        none                null                local
56bd367f4fe9        tlan                transparent         local

After reboot or shutdown Windows Server 2019 core loses the network, it is not listed anymore. I have a similar setup with Windows Server 2016 core but there the network is “saved” on reboot and shutdown.

I’m I doing something wrong?

Here is the docker info:
    Containers: 0
     Running: 0
     Paused: 0
     Stopped: 0
    Images: 0
    Server Version: 18.09.0
    Storage Driver: windowsfilter
    Logging Driver: json-file
     Volume: local
     Network: ics l2bridge l2tunnel nat null overlay transparent
     Log: awslogs etwlogs fluentd gelf json-file local logentries splunk syslog
    Swarm: inactive
    Default Isolation: process
    Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
    Operating System: Windows Server 2019 Datacenter Version 1809 (OS Build 17763.107)
    OSType: windows
    Architecture: x86_64
    CPUs: 1
    Total Memory: 3.999GiB
    Name: WIN2019
    Docker Root Dir: C:\ProgramData\docker
    Debug Mode (client): false
    Debug Mode (server): false
    Experimental: false
    Insecure Registries:
    Live Restore Enabled: false