Strapi Docker error sharp

Because you are using yarn for Windows. Try installing yarn in WSL2 as well.