Setup

Provides prerequisite software and configuration details that enable you to prepare your host system to run the Windows Containerization Demonstration.

Prerequisites

On the machine where you want to host the demonstration image, install the following:

Microsoft Windows 10 or later with Hyper-V enabled.
See Install Hyper-V on Windows 10 for details about enabling Hyper-V.
Note: This demonstration was tested using Windows 10 Enterprise, but is supported on Windows 10 Pro as well.
Docker
Install either the Docker Desktop for Windows or the Docker Daemon and CLI.
Docker Desktop for Windows
Restriction: Docker cannot be used on a PC that has VirtualBox or VMware installed.
Download and install Docker
  1. Click here to download the Docker Desktop Installer for Windows.
  2. Run the installer.
Verify the Docker installation
  1. Start a Windows command prompt.
  2. Enter:
    docker version
    If Docker is installed properly, the system should return the following:
    OS/Arch:	windows/amd64

    If you receive a different response, see the Troubleshooting the Docker installation section below.

Troubleshoot the Docker installation
If the Docker verification returns a message indicating that docker.exe cannot be found, manually add the location of this file to your Windows system PATH.

If the verification response does not include windows, set Docker to build Windows containers as follows:

  1. On your Windows desktop, right click the Docker icon in the taskbar.
    Note: If the Docker icon does not appear on your taskbar, click the upwards arrow to Show hidden icons, and right-click it from there.
  2. Select Switch to Windows containers from the context menu.

Alternatively, you can switch to build Windows containers from your Windows command prompt as follows:

  1. Change to your Docker installation directory, which by default is C:\Program Files\Docker\Docker.
  2. Enter the following command:
    DockerCli" -SwitchWindowsEngine
Docker Daemon and CLI
Docker provides the standalone Windows binaries for the Docker Daemon as well as the Docker CLI. To install these on your machine:
  1. Start Windows PowerShell as an administrator.
  2. Execute the following at the PowerShell commands prompt to download and install the Docker files:
    curl.exe -o docker.zip 
       -LO https://download.docker.com/win/static/stable/x86_64/docker-20.10.12.zip
    Expand-Archive docker.zip -DestinationPath C:\
    [Environment]::SetEnvironmentVariable("Path","$($env:path);C:\docker", 
       [System.EnvironmentVariableTarget]::Machine)
    $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
    dockerd --register-service
    Start-Service docker
    docker run hello-world

If the installation was successful Docker returns a greeting such as: Hello from Docker!

Installation

On the machine where you want to host the demonstration image:

  1. Copy the extend(R) Version 10.5.0 x64.msi extend setup file to the %PUBLIC%\documents\Micro Focus\extend 10.5.0\sample\containerization\windows directory.
  2. Copy the following 64-bit license files to the aculic_win_x64 directory:
    • acurcl.alc (AcuRCL)
    • acurcl.wlc (AcuToWeb)
    • wrun32.alc or wrun32.3lc (Runtime)