How to install Docker

Prerequisites

Windows Subsystem for Linux (WSL)

First make sure to have installed Windows Subsystem for Linux (WSL) on your Computer.
Search for Command Prompt (or PowerShell), right-click the top result, and select the Run as administrator option.
Type in:

wsl --list --verbose
wsl --list --verbose

When no Linux installation is listed, you have to install Linux Subsystem.
Type in your Command Prompt (or PowerShell):

wsl --install --web-download
wsl --install --web-download

Check afterwards again if Linux is installed.

Install Docker

Download Docker Desktop Installer.exe from this source:
https://docs.docker.com/desktop/install/windows-install/
Install Docker and restart your Computer.

Download Docker Image

Download the eDesign/WDX-Docker-image from here: eDesign Downloads
Open your Command Prompt and move to the directory, where the eDESIGN-Docker-image is located, for example.:
C:\Users

Run Docker Image

To load the Docker-image into a Docker-Container in:

docker load -i wdx-runtime-x86_64-x.x.x.x.tar
docker load -i wdx-runtime-x86_64-x.x.x.x.tar

Then start the Docker-Container. Be aware of the volumes that are going to be mounted. Navigate (i.e. cd c:\workspace\wdx_docker) to directory where you want to mount the persistant directories.

Windows

docker run -d -p 8081:80 -p 8481:443 --name wdx-runtime -v data:/opt/elrest/edesign/wdx/data -v config:/opt/elrest/edesign/wdx/config -v logs_wdx:/opt/elrest/edesign/wdx/logs -v logs_lighthttp:/var/log/lighttpd/ {{name_of_loaded_image}}
docker run -d -p 8081:80 -p 8481:443 --name wdx-runtime -v data:/opt/elrest/edesign/wdx/data -v config:/opt/elrest/edesign/wdx/config -v logs_wdx:/opt/elrest/edesign/wdx/logs -v logs_lighthttp:/var/log/lighttpd/ {{name_of_loaded_image}}

Linux

docker run -d -p 8081:80 -p 8481:443 --name wdx-runtime -v ./data:/opt/elrest/edesign/wdx/data -v ./config/wdx:/opt/elrest/edesign/wdx/config -v ./logs/wdx:/opt/elrest/edesign/wdx/logs -v ./logs/lighthttp:/var/log/lighttpd/ {{name_of_loaded_image}}
docker run -d -p 8081:80 -p 8481:443 --name wdx-runtime -v ./data:/opt/elrest/edesign/wdx/data -v ./config/wdx:/opt/elrest/edesign/wdx/config -v ./logs/wdx:/opt/elrest/edesign/wdx/logs -v ./logs/lighthttp:/var/log/lighttpd/ {{name_of_loaded_image}}

Install Docker Desktop on Windows: https://docs.docker.com/desktop/install/windows-install/

More information on how to install Linux on Windows with WSL
https://learn.microsoft.com/en-us/windows/wsl/install

Manual installation steps for older versions of WSL
https://learn.microsoft.com/en-us/windows/wsl/install-manual

URLs to the Applications

Open your browser and paste in the follwing urls:

Main access:

http://localhost:8081/
http://localhost:8081/