mirror of
https://github.com/docker/cli.git
synced 2026-09-26 01:10:35 -04:00
Add isolation to info
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: c4e169727474f24cb0eddea15b94aaa2bfbb3281 Component: engine
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
|
||||
"github.com/docker/docker/api/types/container"
|
||||
"github.com/docker/docker/pkg/reexec"
|
||||
)
|
||||
|
||||
@@ -69,6 +70,9 @@ var (
|
||||
// Environment variable WINDOWS_BASE_IMAGE can override this
|
||||
WindowsBaseImage = "windowsservercore"
|
||||
|
||||
// isolation is the isolation mode of the daemon under test
|
||||
isolation container.Isolation
|
||||
|
||||
// daemonPid is the pid of the main test daemon
|
||||
daemonPid int
|
||||
)
|
||||
|
||||
@@ -84,6 +84,7 @@ func init() {
|
||||
volumesConfigPath = strings.Replace(volumesConfigPath, `\`, `/`, -1)
|
||||
containerStoragePath = strings.Replace(containerStoragePath, `\`, `/`, -1)
|
||||
}
|
||||
isolation = info.Isolation
|
||||
}
|
||||
|
||||
func convertBasesize(basesizeBytes int64) (int64, error) {
|
||||
|
||||
Reference in New Issue
Block a user