moby/daemon/containerd/image_snapshot_windows.go
Djordje Lukic 0313544f4a
c8d: Handle userns properly
If the daemon is run with --userns-remap we need to chown the prepared
snapshot

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2023-09-11 16:39:29 +02:00

12 lines
302 B
Go

package containerd
import (
"context"
"github.com/containerd/containerd/leases"
"github.com/containerd/containerd/snapshots"
)
func (i *ImageService) remapSnapshot(ctx context.Context, snapshotter snapshots.Snapshotter, id string, parentSnapshot string, lease leases.Lease) error {
return nil
}