mirror of
https://github.com/containers/podman.git
synced 2025-09-27 16:54:42 +08:00
image prune: support removing external containers
Support removing external containers (e.g., build containers) during image prune. Fixes: #11472 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/libimage/copier.go
generated
vendored
2
vendor/github.com/containers/common/libimage/copier.go
generated
vendored
@ -304,7 +304,7 @@ func (r *Runtime) newCopier(options *CopyOptions) (*copier, error) {
|
||||
|
||||
defaultContainerConfig, err := config.Default()
|
||||
if err != nil {
|
||||
logrus.Warnf("failed to get container config for copy options: %v", err)
|
||||
logrus.Warnf("Failed to get container config for copy options: %v", err)
|
||||
} else {
|
||||
c.imageCopyOptions.MaxParallelDownloads = defaultContainerConfig.Engine.ImageParallelCopies
|
||||
}
|
||||
|
Reference in New Issue
Block a user