# Get error when switch from Linux container to Windows container

**URL:** <https://forums.docker.com/t/get-error-when-switch-from-linux-container-to-windows-container/34463>\
**Category:** Docker Desktop\
**Created:** [July 4, 2017, 9:09pm UTC](https://forums.docker.com/t/get-error-when-switch-from-linux-container-to-windows-container/34463 "2017-07-04T21:09:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaohoahao](https://avatars.discourse-cdn.com/v4/letter/x/bb73d2/32.png) [@xiaohoahao](https://forums.docker.com/u/xiaohoahao)\
**Post date:** [July 4, 2017, 9:09pm UTC](https://forums.docker.com/t/get-error-when-switch-from-linux-container-to-windows-container/34463/1 "2017-07-04T21:09:15Z")

</div>

I get Docker crash when I try to switch from Linux container to the Windows container:

Docker daemon failed with message:  
Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to get endpoints from store: failed to decode endpoint IPv4 address () after json unmarshal: invalid CIDR address:

at Docker.Backend.ContainerEngine.Windows.DoStart(Settings settings)  
at Docker.Backend.ContainerEngine.Windows.Start(Settings settings)  
at Docker.Core.Pipe.NamedPipeServer.\<\>c\_\_DisplayClass9\_0.b\_\_0(Object[] parameters)  
at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters)

Any ideas how to fix it?
