Image pull of Custom Image from Docker Hub Fails

Hello

I am getting the following error when trying to create a basic Kubernetes deployment using a custom image hosted on Docker hub:

Failed to pull image “DockerAccounName/FolderName:latest”: rpc error: code = Unknown desc = image operating system “windows” cannot be used on this platform.

My Docker is set to use Windows containers. The Kubernetes YAML I am using is the following:

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: example1
name: example1
spec:
replicas: 1
selector:
matchLabels:
app: example1
template:
metadata:
labels:
app: example1
spec:
containers:
- image: DockerAccountName/FolderName:latest
name: customwinimage

Please help

Regards
Kevin U

Seem that I have solved the problem myself. Just for the benefit of anyone who runs into this problem, the issue turns out to emanate from the fact that local Kubernetes do not support Windows images. Seem rather strange that this simple information has not been widely publicised. Took me days of digging to figure this out. There is a hint on the official K8 site: Windows containers in Kubernetes | Kubernetes.