diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go index 6c9a820996..d2f99a26f7 100644 --- a/pkg/domain/infra/abi/containers.go +++ b/pkg/domain/infra/abi/containers.go @@ -1418,7 +1418,7 @@ func (ic *ContainerEngine) ContainerMount(ctx context.Context, nameOrIDs []strin // This can only happen in a narrow race because we first create the storage // container and then the libpod container so the StorageContainers() call // above would need to happen in that interval. - if errors.Is(err, types.ErrContainerUnknown) || errors.Is(err, define.ErrCtrExists) { + if errors.Is(err, types.ErrContainerUnknown) || errors.Is(err, types.ErrLayerUnknown) || errors.Is(err, define.ErrCtrExists) { continue } return nil, err