@Madhusudhan Reddy Firstly, apologies for the delay in responding on this and any inconvenience this issue may have caused
Docker for windows allows switching between Linux containers and native Windows containers; if you want to use Linux containers (such as Debian), make sure you enabled that mode.
You can refer to this doc as well for more information on same.
Similar issue has been reported on this GitHub thread as well.
This GitHub thread will give you more insights as well.
Hope it helps!!!
Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics