Skip to content

Overview

lordmilko edited this page Oct 6, 2020 · 11 revisions

Contents

Overview

Creating Docker containers with PrtgDocker simple process that can be achieved as follows

  1. Create a Windows Server 2019 LTSC (1809, 17763.864) VM with at least 6gb RAM and apply the latest updates (very important)

  2. Install Docker

  3. Clone this repo to your server (git clone https://github.com/lordmilko/PrtgDocker)

  4. Place any installers you wish to containerize into the repo

  5. Open build.cmd and run the following commands

    New-PrtgBuild
    New-PrtgContainer
  6. 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

Clone this wiki locally