You can run the official NetBeez Docker Agent (netbeez/nb-agent) on Windows Server or an always-on Windows host using Docker Desktop for Windows. A Docker Agent runs inside a lightweight Linux container and registers in your NetBeez NextGen dashboard under Agents → Network Agents.
Note: If you are monitoring end-user Windows 10 or Windows 11 laptops and workstations—including local Wi-Fi, VPN, and endpoint telemetry—install the native Windows MSI endpoint agent instead so it registers under Agents → Remote Workers (see Install NetBeez Agents, Inviting Remote Workers from the Dashboard, and Agent Types).
In this article:
Prerequisites
Hardware Virtualization & Backend: 64-bit Windows with BIOS/UEFI hardware virtualization (Intel VT-x or AMD-V) enabled and WSL 2 (recommended) or Hyper-V Linux containers configured.
Outbound Connectivity: Access to Docker Hub to pull
netbeez/nb-agentand outbound connectivity to your NetBeez NextGen server (see Network Firewall Settings).NetBeez Server Secret Key: Sign in as an Administrator to copy your Server Secret Key from Settings → Information & Health (under Server Information), or open Agents → Network Agents → Install Network Agent → Container where the Docker command is pre-populated with your key (see Secret Key).
Step 1: Install and Verify Docker Desktop on Windows
Download and install Docker Desktop for Windows from the official Docker documentation.
Ensure hardware virtualization and WSL 2 (or Hyper-V) are enabled if prompted by the installer, and reboot Windows if required.
Launch Docker Desktop from the Windows Start Menu (run as Administrator if prompted during initial setup) and wait until the Docker Engine status reports Running.
Open PowerShell or Command Prompt as Administrator and verify that Linux containers can run:
docker run hello-world
Confirm that the output displays
Hello from Docker!before proceeding.
Step 2: Launch the NetBeez Docker Agent
Create a named Docker volume so the container persists its generated agent UUID and configuration across container restarts and Windows reboots:
docker volume create netbeez-config-vol
Start the
netbeez/nb-agentcontainer in detached mode with automatic restart enabled, replacing<secret_key>with your Server Secret Key from Settings → Information & Health (or copy the pre-populated command from Agents → Network Agents → Install Network Agent → Container):docker run -d --restart=always -e "NB_SECRET_KEY=<secret_key>" -v netbeez-config-vol:/etc/netbeez/persistence/:rw netbeez/nb-agent
Important: Always pass all
-eenvironment variable flags (such asNB_SECRET_KEY, optionalAGENT_UUID, or proxy variables—see thenetbeez/nb-agentDocker Hub guide) before the-vvolume option and image name.
Step 3: Verify Registration and Manage Container Upgrades
Verify in NextGen: Open Agents → Network Agents in your NetBeez NextGen dashboard to confirm the new Docker Agent is online, then assign Agent Groups, Targets, and Scheduled Tests.
Automatic Startup on Windows Boot: In Docker Desktop Settings → General, enable Start Docker Desktop when you sign in to your computer so the container resumes monitoring automatically after host restarts.
Upgrading the Container Image: Because agent identity is stored in
netbeez-config-vol, you can pull a newernetbeez/nb-agentimage and recreate the container while preserving the same agent record and historical metrics (see Agent Configuration - Upgrade Docker Agent).
