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