As far as I understand, this is only needed for Docker running on a
Windows host. Grepping the code shows that only Windows specific files
import Microsoft/hcsshim. The only exception is the file
`libcontainerd/remote/client.go`.
Forwarded: https://github.com/moby/moby/issues/40067
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Gbp-Pq: Name engine-disable-microsoft-hcsshim.patch
"syscall"
"time"
- "github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options"
+ // DM - This is Windows only
+ //"github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options"
"github.com/containerd/containerd"
apievents "github.com/containerd/containerd/api/events"
"github.com/containerd/containerd/api/types"
}
} else {
// Make sure we set the runhcs options to debug if we are at debug level.
- if c.logger.Level == logrus.DebugLevel {
- info.Options = &options.Options{Debug: true}
- }
+ // DM - This is Windows only
+ //if c.logger.Level == logrus.DebugLevel {
+ // info.Options = &options.Options{Debug: true}
+ //}
}
return nil
})