Create a Rocky VM Template:

  1. Rename your VM in your folder to cis335-g#-s#-template
  2. Change the hostname of your system to cis335-g#-s#-template:
1hostnamectl set-hostname cis335-g#-s#-template
  1. Make sure your VM is up to date with all patches:
2dnf update -y
  1. Ensure the bash-completion package is installed:
3dnf install -y bash-completion
  1. Install the perl package on your VM:
    • Perl is an early programming lanuage used on Unix machines. It stands for Practical Extraction and Reporting Language. In order for VMware to clone templates to a new machine, Pearl is needed.
4dnf install -y perl
  1. Poweroff your VM by typing poweroff in the command line.
5poweroff

Install Docker in Windows Server:

1Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
1.\install-docker-ce.ps1
1docker pull mcr.microsoft.com/windows/servercore:ltsc2025
1docker pull mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2025