mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
08ddbfbdac
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
15 lines
517 B
Go
15 lines
517 B
Go
package daemon // import "github.com/docker/docker/daemon"
|
|
|
|
import (
|
|
"github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options"
|
|
"github.com/docker/docker/container"
|
|
"github.com/docker/docker/pkg/system"
|
|
)
|
|
|
|
func (daemon *Daemon) getLibcontainerdCreateOptions(_ *container.Container) (string, interface{}, error) {
|
|
if system.ContainerdRuntimeSupported() {
|
|
// Set the runtime options to debug regardless of current logging level.
|
|
return "", &options.Options{Debug: true}, nil
|
|
}
|
|
return "", nil, nil
|
|
}
|