WSL2 - Docker: Failed to load docker configuration docker features json input output error

When doing development on (my backup) Windows PC, using Docker Desktop + WSL2 Integration, i found that sometimes i cannot call  docker compose
command

Failed to load docker configuration: open /home/nsulistiyawan/.docker/features.json: input/output error

That could be a bug in Docker Desktop for Windows, seems that the process stopped after we logged-off from user session, i'm not really sure.

So, how to fix that ? just open Windows Powershell, and type

wsl --shutdown

 wsl

That's all!

Comments