|
@@ -17,6 +17,7 @@ import (
|
|
|
|
|
|
"github.com/Microsoft/hcsshim"
|
|
"github.com/Microsoft/hcsshim"
|
|
opengcs "github.com/Microsoft/opengcs/client"
|
|
opengcs "github.com/Microsoft/opengcs/client"
|
|
|
|
+ "github.com/containerd/containerd"
|
|
"github.com/docker/docker/pkg/sysinfo"
|
|
"github.com/docker/docker/pkg/sysinfo"
|
|
"github.com/docker/docker/pkg/system"
|
|
"github.com/docker/docker/pkg/system"
|
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
|
specs "github.com/opencontainers/runtime-spec/specs-go"
|
|
@@ -70,6 +71,10 @@ const (
|
|
// of docker.
|
|
// of docker.
|
|
const defaultOwner = "docker"
|
|
const defaultOwner = "docker"
|
|
|
|
|
|
|
|
+func (c *client) Version(ctx context.Context) (containerd.Version, error) {
|
|
|
|
+ return containerd.Version{}, errors.New("not implemented on Windows")
|
|
|
|
+}
|
|
|
|
+
|
|
// Create is the entrypoint to create a container from a spec.
|
|
// Create is the entrypoint to create a container from a spec.
|
|
// Table below shows the fields required for HCS JSON calling parameters,
|
|
// Table below shows the fields required for HCS JSON calling parameters,
|
|
// where if not populated, is omitted.
|
|
// where if not populated, is omitted.
|