Calculation Node

Windows Server

Docker Engine Setup

See: Microsoft Windows Server Docker

Step 1: Install container support

# Install windows container feature
Install-WindowsFeature -Name Containers

# Restart
Restart-Computer -Force

Step 2: Install docker

# Install Nuget Client
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force

# PowerShell module with commands for discovering, installing, and updating Docker images.
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force

# Start docker service
Start-Service docker

# Show docker version
docker version

Step 3: Edit Docker Daemon Config

Enable Docker API host access on TCP 2376. This is used by the calculation_node service to interact with docker. If you see errors like “Docker is not reachable” then this config is not set.

Docker Daemon Config: C:\ProgramData\docker\config\daemon.json

daemon.json
 {
     "hosts": [
         "npipe://",
         "tcp://127.0.0.1:2376"
     ]
 }

Step 4: Pull Images

# Conda FMI image
docker pull nexus.enexsa.com/enexsa/conda-fmi

# Conda conda-rhi image
docker pull nexus.enexsa.com/enexsa/conda-rhi

# Python 3.8 image
docker pull nexus.enexsa.com/python:3.8-windowsservercore