-
Notifications
You must be signed in to change notification settings - Fork 10
Overview
Creating Docker containers with PrtgDocker simple process that can be achieved as follows
-
Create a Windows Server 2019 LTSC (1809, 17763.864) VM with at least 6gb RAM and apply the latest updates (very important)
-
Clone this repo to your server (
git clone https://github.com/lordmilko/PrtgDocker
) -
Place any installers you wish to containerize into the repo
-
Open
build.cmd
and run the following commandsNew-PrtgBuild New-PrtgContainer
-
Visit
http://<hostname>:8080
in your web browser!
When attempting to containerize the PRTG Core Server, it is important to note that the Docker host that is building the image must be assigned at least 6gb RAM. PRTG automatically installs the 64-bit version of the PRTG Core Server when it detects you have at least 6gb RAM. The 64-bit version of PRTG is required due to the use of the Themida anti-cracking software in PRTG 16.4.28+, which causes any 32-bit executables protected with this software to crash inside of a container. As of writing, PRTG Remote Probes do not use Themida, and only come in 32-bit versions, so the amount of RAM assigned to the server when building probes is irrelevant.
Images you've built with New-PrtgBuild
can easily be identified via Get-PrtgImage
, which provides a lightweight wrapper around docker image ls
allowing you to use PowerShell magic to quickly identify images of interest
# Identify all PRTG Core Server images built for PRTG 20.x
Get-PrtgImage 20*
# Identify all PRTG Probe images built with New-PrtgBuild -Probe
Get-PrtgImage -Repository prtgprobe
For more information about the various options available when creating PRTG Server Cores and Probes, please see the following sections