Fix ctr run for Windows containers

1. Fixes bugs in ctr run that were introduced by 1d9b969
2. Adds support for the --isolated flag that runs Windows HyperV
cotainers instead of process isolated containers on Windows.

Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
This commit is contained in:
Justin Terry (VM)
2018-09-20 10:38:03 -07:00
parent 7768ab1b5e
commit 547bb94e4b
4 changed files with 74 additions and 37 deletions

View File

@@ -49,7 +49,6 @@ import (
)
const (
runhcsBinary = "runhcs"
runhcsShimVersion = "0.0.1"
)