Docker instructions - Windows

This section describes how to build a Docker container for the MFT Server application to run in.

 

Prerequisites:

 

A Windows MFT Server installer

A Docker installation that you are logged in to

 

Instructions:

 

Create a folder on the target system, for example: "C:\docker".

 

Copy the Docker.windows file from “MFT Server\doc\docker” to “C:\docker” and rename it Dockerfile. Please check that Dockerfile has no file extension.

 

Note: Docker builds images by reading the instructions from a Dockerfile. This is a text file containing instructions that adhere to a specific format needed to assemble your application into a container image. The default file name is Dockerfile, without a file extension. Using the default name allows you to run the docker build command without having to specify additional command flags.

 

Place the mft-server-install-x64-x.xx.xx.exe in “C:\docker”.

 

Place the license file in “C:\docker”.

 

Open a Command Prompt or PowerShell window and navigate to the in “C:\docker” directory where the Dockerfile was placed. Build the container image using the docker build command:

 

docker build -t jscape:latest .

 

Start your container using the docker run command and specify the name of the image you just created:

 

  docker run -it -p 11880:11880 --entrypoint=cmd jscape:latest

 

Note: Windows requires the host OS version to match the container OS version. If you want to run a container based on a newer Windows build, make sure you have an equivalent host build. Otherwise, you can use Hyper-V isolation to run older containers on new host builds.