Files
linuxkit/src/cmd/linuxkit/hyperv_fallback.go
Rolf Neugebauer a42a3ffb39 cmd: Add initial Hyper-V run backend
The Hyper-V backend is loosly based on the docker-machine code
as well as ./scripts/LinuxKit.ps1. It shells out to Powershell
for most of the configuration.

Console is provided by github.com/Azure/go-ansiterm/winterm
and the ode surrounding it is loosely based on the equivalent
code in containerd and moby/moby.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-06-11 09:11:06 +01:00

18 lines
225 B
Go

// +build !windows
package main
// Fallback implementation
import (
"log"
)
func hypervStartConsole(vmName string) error {
log.Fatalf("This function should not be called")
return nil
}
func hypervRestoreConsole() {
}