PKC on Windows Platform

From PKC
Jump to navigation Jump to search

The first and foremost problem with Windows is its file/directory names and permissions are different from UNIX-based operating systems. Therefore, there will be many hiccups. To avoid these problems, one can following the following instruction to install PKC on Windows:

  1. Make sure that your Hypervisor options on your Windows 10 are enabled[1],[2],[3].
    1. For users running Windows 10 Home Edition, use the following link: Docker for Windows Installation
    2. For users running Windows 10 Professional Edition, you may use the following installation file: Download InstallDocker.msi
  2. Make sure that Docker-compose is installed and launch Docker Desktop
    1. Try the following command to make sure your Docker Desktop is running: docker run hello-world
  3. Make sure that docker-compose is installed:
docker-compose --version

It is common to find the Installation of Dockers on Windows causing various mysterious problems, they can be found here:

Windows Anamolies

Since PKC is designed around Linux-based containerization technology, which means that it will have many incompatibilities with Windows inherently. There are some tips that we captured here:

Consult the System Administrator of the Computer

Some system administrators will block users from installing WSL2.0. If this is the case, the Windows operating system needs to be reinstalled to avoid that blocking. See Windows WSL Troubleshooting and this webpage[4].

Windows Subsystem for Linux (WSL) Update

After installing Docker Desktop, Windows 10 will often ask for the installation of WSL update. Please follow the wizard, and install the update accordingly.

VPN Software Interfering with WSL

Under Windows 10 Environment, some VPN software might interfere with Docker's Windows Subsystem for Linux, a.k.a. Windows Subsystem for Linux (WSL), you will need to remove the interfering VPN software before installing Docker. Please note that not all VPN software interferes with WSL. In case you don't want to remove your VPN software, or your Docker and Bash have compatibility issues, please try the following solution:Installing VirtualBox for PKC.

Choosing adequate directories

Mitch Altman identified the following scenarios for PKC installation on Windows 10, which indicate that Windows users will face many unexpected problems during installation, the following lists are some important ones. Make sure that you don't pick a directory outside of your usual Users/Documents directory. If you choose some directories outside of your User/Documents directory, it is possible that certain batch script commands will stop to work, due to file right access authority issues.

GNU TAR might not work

Mitch also found that tar command may not work on certain machines. To ensure that PKC will install smoothly on Windows 10 machines, we put an .exe (Windows executable) file unzip.exe[5] in the PKC/resources directory. We also made sure that a initial data package, namely is included in the resources directory, so that the up.bat script will be able to conduct the automatic installation and initial launch process completely.

Install PKC on Windows 10

Just go to the following page for Windows 10 PKC Installation.

Related Pages