metinet

Docker Windows 10 Startup Port Error Fail


After upgrading to the latest version of Windows, Docker has problems launching the containers, which ends with the following errors:

ERROR: for db  Cannot start service db: driver failed programming external 
connectivity on endpoint webapp_db_1 (23540223af48ce0898936025ded3462be08b5759368d0c1d58ad649ab7f7ccf6): 
Error starting userland proxy: mkdir /port/tcp:0.0.0.0:3309:tcp:172.22.0.3:3306: input/output error 
Encountered errors while bringing up the project.

It took me a while to find Docker had issues with some performance setting inside windows. The hybrid shutdown mode in detail. Disabling the setting brought the containers back into operation. See also Fast Startup

You can reach this by navigating to: Control Panel > Hardware and Sound > Power Options > System Settings

The (German) screenshot for the setting:

 

 

 

 

 

 

Don’t forget to restart Docker after saving the power settings.