Pre-requisites : TDV supports Windows 11 Pro 64bit 21H2 or higher and Windows Server 2022 21H2 or higher.
Some of the key considerations when using the docker desktop for windows are given below:
(#1) Hyper-V feature must be enabled on Windows (https://learn.microsoft.com/en-us/windowsserver/virtualization/hyper-v/system-requirements-for-hyper-v-on-windows)
References:
Windows 11 :
https://techcommunity.microsoft.com/t5/educator-developer-blog/stepby-step-enabling-hyper-v-for-use-on-windows-11/ba-p/3745905 Windows Server 2022:
https://learn.microsoft.com/en-us/windowsserver/virtualization/hyper-v/hyper-v-technology-overview (#2) Use the Docker desktop for Windows to create the TDV docker images and containers. The latest version of Docker Desktop for Windows can be installed from here -
https://docs.docker.com/desktop/install/windows-install/ Listed below are some of the important considerations, if you are using the docker desktop:
1. WSL 2 feature must be enabled on Windows -
https://docs.docker.com/desktop/windows/wsl/ 2. During Docker Desktop for Windows installation, choose “Use WSL 2 instead of Hyper-V” option.
3. Enable the “use Linux containers” configuration as outlined here:
https://docs.docker.com/desktop/get-started/#switch-between-windows-and-linuxcontainers (#3) If you choose to run the TDV docker build and run scripts in Docker Desktop for Windows, then you must open a WSL shell and run with bash.
(# 4)
Note: Please modify the run_tdv_cluster_container.sh script before running it. Add "bash" prefix in front of every "./run_tdv_container.sh" reference in that script.
Some examples of running the TDV script inside the WSL shell are given below:
Build example:
$ bash build_tdv_image.sh
Run single instance example:
$ bash run_tdv_container.sh -d --del-vol --env TDV_ADMIN_PASSWORD=123456
Run cluster example:
$ bash run_tdv_cluster_container.sh -d --del-vol --nodes 2 --env TDV_ ADMIN_PASSWORD=123456
The TDV Docker container will require a minimum of 8GB of RAM and 8GB of read & write persistent disk storage.