Docker Community Forums

Share and learn in the Docker community.

Docker Swarm Deployment in Windows Server 2016

Hi All,

I am trying to deploy docker images in swarm mode.
When I loaded the images with .tar file in Windows Server 2016 Standard 64bit (Version 1607).
I am always getting the below error.

My local is using windows 10 and docker 2.1.0.0. Then build the image and saved the images as .tar file and try load in server. It was failed in server. Build the image using mcr.microsoft.com/dotnet/core/runtime:2.2.2-nanoserver-sac2016 and mcr.microsoft.com/dotnet/core/sdk:2.2 in local.
Could you provide us the requirement of .net sdk for windows server 2016?

Docker info in local

docker info
Client:
Debug Mode: false

Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 4
Server Version: 19.03.1
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics l2bridge l2tunnel nat null overlay transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: hyperv
Kernel Version: 10.0 17134 (17134.1.amd64fre.rs4_release.180410-1804)
Operating System: Windows 10 Enterprise Version 1803 (OS Build 17134.885)
OSType: windows
Architecture: x86_64
CPUs: 8
Total Memory: 15.9GiB
Name: NCS-170519GM10
ID: LO3U:TM5A:Q4KF:AQZA:IKMK:HFLP:PF53:TMFR:NXY3:UW6C:M3DR:U372
Docker Root Dir: C:\ProgramData\Docker
Debug Mode: true
File Descriptors: -1
Goroutines: 27
System Time: 2019-08-15T17:18:56.6443394+08:100:

****Docker Info in Server ****

E:\Docker>docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 18.09.2
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics l2bridge l2tunnel nat null overlay transparent
Log: awslogs etwlogs fluentd gelf json-file local logentries splunk syslog
Swarm: active
NodeID: 2j8sygvazua60umc0qfkh7so0
Is Manager: false

Default Isolation: process
Kernel Version: 10.0 14393 (14393.3053.amd64fre.rs1_release_inmarket.190612-1836)
Operating System: Windows Server 2016 Standard Version 1607 (OS Build 14393.3053)
OSType: windows
Architecture: x86_64
CPUs: 2
Total Memory: 16GiB
Name: VMS0138
ID: 7JDI:VNMA:52UT:JFMG:LQ7H:Y6IR:6WUF:TA2S:6A73:AUD3:VFWU:7UZI
Docker Root Dir: C:\ProgramData\docker

Could you also provide us the deployment steps for swarm in 2016?

Thanks.
Best Regards,
Toe Toe