pkg/rootless: move to daemon/internal

This package is used internally by the daemon, and was only used out
side of the daemon by pkg/plugins (for which we still need to look
where it should be kept).

Making it internal because it's trivial to implement if needed by
anyone. The only reason it's a package is to keep it central, and
to make it easier to discover where we have rootlesskit-specific
codepaths in our codebase.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-07-28 20:56:42 +02:00
parent 1e0531c8d5
commit d761d9d358
7 changed files with 8 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ import (
runcoptions "github.com/containerd/containerd/api/types/runc/options"
"github.com/containerd/log"
"github.com/docker/docker/daemon/config"
"github.com/docker/docker/pkg/rootless"
"github.com/docker/docker/daemon/internal/rootless"
"github.com/docker/docker/pkg/sysinfo"
"github.com/moby/moby/api/types"
containertypes "github.com/moby/moby/api/types/container"