Skip to content
Sven Waschkut edited this page Feb 16, 2022 · 12 revisions

container running with ubuntu 20.04 (classical usage)

classical usage of PAN-OS-PHP. Bash access, run UTIL scripts on CLI

cd [go to the Folder you like to share with the Container]

  • MacOS Terminal: docker run -v ${PWD}:/share -it swaschkut/pan-os-php:latest

  • Windows PowerShell: docker run -v ${PWD}:/share -it swaschkut/pan-os-php:latest

container with php-cli

  • Usage: docker run -it swaschkut/pan-os-php-cli:latest pan-os-php version

    • another example, where a local folder ${PWD} [current CLI directory], is shared with your container:

    docker run -v ${PWD}:/share -it swaschkut/pan-os-php-cli:latest pan-os-php type=device in=/share/panorama-10.0-merger.xml

container with php-apache

  • Usage: docker run -d -p 8082:80 swaschkut/pan-os-php-api:latest

(now you can open an Webbrowser: http://localhost:8082/utils/develop/ui)