Merge pull request #1262 from tonistiigi/docker-driver-features

enable other exporters if docker driver uses containerd
This commit is contained in:
Tõnis Tiigi 2022-08-09 15:37:41 -07:00 committed by GitHub
commit 005bc009e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,9 +66,9 @@ func (d *Driver) Features() map[driver.Feature]bool {
}
}
return map[driver.Feature]bool{
driver.OCIExporter: false,
driver.DockerExporter: false,
driver.CacheExport: false,
driver.OCIExporter: useContainerdSnapshotter,
driver.DockerExporter: useContainerdSnapshotter,
driver.CacheExport: useContainerdSnapshotter,
driver.MultiPlatform: useContainerdSnapshotter,
}
}