Published install instructions for PanHandler are for MAC and Linux systems. I run Windows. Here is how I installed PanHandler on my Windows 10 system.
Install Docker for Windows from the Docker Hub -- https://docs.docker.com/docker-for-windows/install/
I’m at Docker Engine v19.3.5
Once Docker is installed and after your system has rebooted, open Docker from the systray.
My Docker settings: (Sorry, screenshots would not paste)
Kubernetes is unchanged.
Execute “Apply & Restart” lower right.
Make sure Docker is running by checking lower left of window.
Download and install Git Bash. Git Bash is an application for Microsoft Windows environments which provides an emulation layer for a Git command line experience. It is possible to turn on the Windows Subsystem for linux (WSL) but I used Git Bash.
Use Git Bash (or WSL) to run the PanHandler setup CLI per the setup instructions -- https://panhandler.readthedocs.io/en/master/running.html#quickstart
curl -s -k -L http://bit.ly/2xui5gM | bash
Output from the CLI command should include no errors and should look like this …
$ curl -s -k -L http://bit.ly/2xui5gM | bash
Welcome to Panhandler
Checking 6827534e456d (this is your container)
Checking for image updates ... (This may take some time while the image downloads)
paloaltonetworks/panhandler:latest is already up to date!
Found container id of 6827534e456d
This container is up-to-date!
Panhandler is already up to date. Ensuring it's running
You may now use Panhandler by opening a web browser and browsing to http://localhost:8080
If you receive output that states an inability to access you docker container, review your Docker stetting from the systray.
You should now be able to access PanHandler with a local system browser via the URL provided in the last line of output.
Continue with PanHandler usage instructions using https://live.paloaltonetworks.com/t5/Skillet-Tools/Install-and-Get-Started-With-Panhandler/ta-p/3079...
Windows feature Hyper-V conflicts with VMWorkstation. My VMWorkstation version is current at 15.5.1 build-15018445. Hyper-V is required to run a Docker container on Win10.
The result, turn off Hyper-V feature and reboot to run VMWorkstation; turn on Hyper-V and reboot to run PanHandler/Docker.
There is a powershell command to turn Hyper-V feature on/off but does not get around the reboot.
Disable in Powershell with this command: < bcdedit /set hypervisorlaunchtype off >
Reenable Hyper-v with command: < bcdedit /set hypervisorlaunchtype auto >
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!