MCPcopy Create free account
hub / github.com/containerd/nerdctl / IsDocker

Function IsDocker

pkg/testutil/testutil.go:572–574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

570}
571
572func IsDocker() bool {
573 return strings.HasPrefix(filepath.Base(GetTarget()), "docker")
574}
575
576func DockerIncompatible(t testing.TB) {
577 if IsDocker() {

Callers 6

systemctlTargetMethod · 0.70
InfoNativeMethod · 0.70
ContainerdAddressMethod · 0.70
DockerIncompatibleFunction · 0.70
RequiresBuildFunction · 0.70
newBaseFunction · 0.70

Calls 1

GetTargetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…