-
Notifications
You must be signed in to change notification settings - Fork 16
docker
Sven Waschkut edited this page Oct 6, 2023
·
12 revisions
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 --name panosphp --rm -v ${PWD}:/share -it swaschkut/pan-os-php:latest
-
Windows PowerShell:
docker run --name panosphp --rm -v ${PWD}:/share -it swaschkut/pan-os-php:latest
-
Usage:
docker run --name panosphp --rm -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 --name panosphp-cli --rm -v ${PWD}:/share -it swaschkut/pan-os-php-cli:latest pan-os-php type=device in=/share/panorama-10.0-merger.xml
- Usage:
docker run --name panosphp-api --rm -d -p 8082:80 swaschkut/pan-os-php-api:latest
(now you can open an Webbrowser: http://localhost:8082/utils/develop/ui)