For Windows Containerization, you must first register a Windows Builder VM, which accepts component artifacts from the target VM, creates a docker image out of them, and pushes the resulting image into the target repository that you specify.
Prerequisites
You must have a vCenter Server in your inventory with at least one Windows 2019 Server VM with the following components or features:
- A docker.
You can install a docker by running
Get-Package -Name Docker -ProviderName DockerMsftProvider
command. - Hyper-V feature enabled with Container feature.
You can enable them by running the following commands:
Enable-WindowsOptionalFeature -Online -FeatureName containers –All
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
- Connectivity to dockerhub (https://index.docker.io)
Procedure
- Go to Discovery and associate administrator credentials of the VM.
- Go to .
- Find the VM that satisfies the prerequisites mentioned earlier.
- Click on the three dots of the VM and click Register.
Results
You can see the registration status.