nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

Add Windows Hyperv support

Open jsturtevant opened this issue 4 years ago • 1 comments

Add the correct fields to the spec at https://github.com/containerd/nerdctl/blob/f316402913c4239a2388b7467bcffc9735dd8327/cmd/nerdctl/run_windows.go#L42

Something like:

isolation := cmd.Flags().GetString("isolation")
if isolation == "hyperv" {
	opts = append(opts, oci.WithWindowsHyperV)
}

See https://docs.docker.com/engine/reference/commandline/run/#specify-isolation-technology-for-container---isolation

jsturtevant avatar Nov 16 '21 16:11 jsturtevant

Planning to look at this next week

dcantah avatar Jan 06 '22 21:01 dcantah