How I can turn off HyperV Container features so that I can use Virtual Box and then turn them back on to use Docker for Windows
You can do below to disable:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
bcdedit /set hypervisorlaunchtype off
and below to enable:
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
bcdedit /set hypervisorlaunchtype auto
From PowerShell (execute with admin priviledges):
To Disable:
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
To Enable:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All
To test status:
Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
Note that you have to restart the system.
PS: Source threads: https://superuser.com/questions/540055/convenient-way-to-enable-disable-hyper-v-in-windows-8