Checks the machine for Sitecore Container compatibility.
You can run the script (in an admin-elevated PowerShell session) like this:
Start-BitsTransfer -Source "https://raw.githubusercontent.com/strezag/sitecore-containers-prerequisites/main/sitecore-containers-prerequisites.ps1"; .\sitecore-containers-prerequisites.ps1
To run Unattended and Quiet with a Pass or Fail message:
Start-BitsTransfer -Source "https://raw.githubusercontent.com/strezag/sitecore-containers-prerequisites/main/sitecore-containers-prerequisites.ps1"; .\sitecore-containers-prerequisites.ps1 -Unattended -Quiet; Write-Host "Exit code is $LastExitCode which means you $($LastExitCode -eq 0 ? "passed" : "failed")"
To quickly run Unattended with full test selection and display output:
Start-BitsTransfer -Source "https://raw.githubusercontent.com/strezag/sitecore-containers-prerequisites/main/sitecore-containers-prerequisites.ps1"; .\sitecore-containers-prerequisites.ps1 -Unattended
Quickly verify Sitecore Container:
- Hardware requirements (CPU, RAM, DISK STORAGE and TYPES)
- Operating system compatibility (OS Build Version, Hyper-V/Containers Feature Check, IIS Running State)
- Software requirements (Docker Desktop, Docker engine OS type Linux vs Windows Containers, Sitecore Docker Tools, Sitecore License persistence in user environment variable)
- Network Port Check (443, 8079, 8984, 14330)
Download and install software:
- Chocolatey
- Docker Desktop
- mkcert
Enable required Windows Features
- Containers
- Hyper-V
Download latest 10.1.0
- Container Package ZIP
- Local Development Installation Guide PDF
Miscellaneous
- Remove Sitecore license persisted in user environment variable (can be problematic as it overrides session variables in modern Docker solutions)
- Unattended (e.g.
-Unattended
) and Quiet (e.g.-Quiet
) options with ability to select test type via parameter (e.g.-menuSelection 3
), default is Full Prerequisites Check