Docker Community Forums

Share and learn in the Docker community.

Legacy Windows application in VC++, Docker Image is built. Problem while deploying the application in Docker Swarm with Docker Service Create command

I am using Docker on Windows 10 version 1903.
I have a Legacy Windows application in VC++.
I have built Docker image of the application and pushed to dockerhub registry.
I have created Docker Swarm with 1 Manager and 2 worker nodes.
I am trying to deploy the application in Docker Swarm by docker service create command but following error is displayed:
1/1: no suitable node (unsupported platform on 3 nodes)

I have already created docker swarm successfully with following commandline:
docker-machine create -d hyperv --hyperv-virtual-switch
Set manager node.

Through following command I am trying to create service on docker swarm manager node:
docker service create --network myoverlaynet --endpoint-mode dnsrr --name

Is it possible to deploy a windows application(without GUI) to docker swarm manager node or only Linux applications can be deployed? How can I deploy my windows application to Docker Swarm?

Docker version:
Client: Docker Engine - Community
Version: 18.09.2
API version: 1.39
Go version: go1.10.8
Git commit: 6247962
Built: Sun Feb 10 04:12:31 2019
OS/Arch: windows/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 18.09.6
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: 481bc77
Built: Sat May 4 02:41:08 2019
OS/Arch: linux/amd64
Experimental: false

Docker Info:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 18.09.6
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: active
NodeID: jtel701oah63fujdko11jp6an
Is Manager: false
Node Address: 172.17.57.142
Manager Addresses:
172.17.57.136:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: bb71b10fd8f58240ca47fbb579b9d1028eea7c84
runc version: 2b18fe1d885ee5083ef9f0838fee39b62d653e30
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.14.116-boot2docker
Operating System: Boot2Docker 18.09.6 (TCL 8.2.1)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 925MiB
Name: swarmworker1
ID: LEG4:O5FB:HLZJ:4CWK:66F2:XBGK:RAYM:7R63:LVP2:BDB6:QGNS:C6LI
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
provider=hyperv
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine