InfoUser
InfoUser

Reputation: 61

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 myswitch nodename Set manager node.

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

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?

Upvotes: 0

Views: 142

Answers (1)

Frank Louwers
Frank Louwers

Reputation: 643

I belive docker-machine creates Linux vms, not Windows vms. If you're running Win10, please see this blog post on how to create a Swarm:

https://stefanscherer.github.io/docker-swarm-mode-windows10/

Upvotes: 1

Related Questions