Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

docker compose build fails with IO timeout

Tags:

docker

I have installed WSL 2.0 and my version of docker is

Client:
 Cloud integration: 1.0.17
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.16.4
 Git commit:        f0df350
 Built:             Wed Jun  2 12:00:56 2021
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true

When I try to do a build of an image I get the following error

Error response from daemon: i/o timeout
like image 532
Vinay Joseph Avatar asked Feb 06 '26 23:02

Vinay Joseph


1 Answers

  1. Open "Window Security"
  2. Open "App & Browser control"
  3. Click "Exploit protection settings" at the bottom
  4. Switch to "Program settings" tab
  5. Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
  6. Click "Edit"
  7. Scroll down to "Code flow guard (CFG)" and uncheck "Override system settings"
  8. Delete all files from C:\Users<name>\AppData\Roaming\Docker
  9. Start vmcompute from powershell "net start vmcompute"

For more info: https://github.com/docker/for-win/issues/4413

like image 111
Choudi Avatar answered Feb 08 '26 11:02

Choudi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!