ERROR: image operating system "linux" cannot be used on this platform

I have installed the Docker on Windows machine with Win 10 Enterprise edition.
When I ran the command (docker-compose up) it throws this error. Even I have enabled Hyper-V and CUP virtualization.

Did you accidentally click on “Switch to Windows containers” in the context menu of the Docker symbol?

1 Like