Docker Installation (Windows)
There are multiple Docker-compatible environments available for Windows.
JOpt TourOptimizer is delivered as a containerized application and can be executed using any standards-compliant Docker runtime. The following instructions describe the operating system prerequisites required to run containerized workloads on Windows systems. Installation and configuration of the container runtime itself is left to the user’s preferred solution.
On Windows, container runtimes typically depend on the following components:
- WSL 2 (Windows Subsystem for Linux)
- Hyper-V
- CPU Virtualization
These components must be enabled before running containerized applications.
WSL 2 and Hyper-V
The fastest way to enable the required Windows features is to open Windows PowerShell in administrator mode and execute the following command:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
To install and enable WSL 2, run:
wsl.exe --install
Alternatively, you may enable these features manually:
- Press the Start button
- Search for "Turn Windows features on or off"
- Enable Hyper-V and Windows Subsystem for Linux
- Confirm the selection and reboot if prompted
If requested, downloading only the Linux kernel is sufficient. No specific Linux distribution is required.
NOTE: If you are running a Windows version earlier than Windows 10 (2004), or if the steps above do not work in your environment, please consult more detailed Windows or container-runtime-specific documentation.
A system reboot may be required for the changes to take effect.
Enabling CPU Virtualization
Enabling CPU virtualization depends on your hardware and firmware vendor.
To access the BIOS or UEFI settings, reboot your system and press one of the following keys during startup:
- Delete
- F2
- F12
Refer to your motherboard or system manufacturer documentation if these keys do not work.
In most BIOS or UEFI setups, virtualization settings can be found under:
Advanced → CPU Configuration
AMD Systems
On AMD CPUs, virtualization may be labeled as:
- SVM
- AMD-V
- Hyper-V
Intel Systems
On Intel CPUs, look for:
- Intel Virtualization Technology
- VT-x
After enabling virtualization, save your changes and reboot the system. Once completed, your container runtime should start without virtualization-related errors.
Authors
A product by DNA Evolutions
https://www.dna-evolutions.com