|
@@ -19,11 +19,6 @@ import (
|
|
|
"sync"
|
|
|
"time"
|
|
|
|
|
|
- "github.com/docker/docker/pkg/fileutils"
|
|
|
- "go.etcd.io/bbolt"
|
|
|
- "google.golang.org/grpc"
|
|
|
- "google.golang.org/grpc/backoff"
|
|
|
-
|
|
|
"github.com/containerd/containerd"
|
|
|
"github.com/containerd/containerd/defaults"
|
|
|
"github.com/containerd/containerd/pkg/dialer"
|
|
@@ -38,18 +33,14 @@ import (
|
|
|
"github.com/docker/docker/daemon/discovery"
|
|
|
"github.com/docker/docker/daemon/events"
|
|
|
"github.com/docker/docker/daemon/exec"
|
|
|
+ _ "github.com/docker/docker/daemon/graphdriver/register" // register graph drivers
|
|
|
"github.com/docker/docker/daemon/images"
|
|
|
"github.com/docker/docker/daemon/logger"
|
|
|
"github.com/docker/docker/daemon/network"
|
|
|
- "github.com/docker/docker/errdefs"
|
|
|
- "github.com/moby/buildkit/util/resolver"
|
|
|
- "github.com/sirupsen/logrus"
|
|
|
-
|
|
|
- // register graph drivers
|
|
|
- _ "github.com/docker/docker/daemon/graphdriver/register"
|
|
|
"github.com/docker/docker/daemon/stats"
|
|
|
dmetadata "github.com/docker/docker/distribution/metadata"
|
|
|
"github.com/docker/docker/dockerversion"
|
|
|
+ "github.com/docker/docker/errdefs"
|
|
|
"github.com/docker/docker/image"
|
|
|
"github.com/docker/docker/layer"
|
|
|
"github.com/docker/docker/libcontainerd"
|
|
@@ -57,6 +48,7 @@ import (
|
|
|
"github.com/docker/docker/libnetwork"
|
|
|
"github.com/docker/docker/libnetwork/cluster"
|
|
|
nwconfig "github.com/docker/docker/libnetwork/config"
|
|
|
+ "github.com/docker/docker/pkg/fileutils"
|
|
|
"github.com/docker/docker/pkg/idtools"
|
|
|
"github.com/docker/docker/pkg/plugingetter"
|
|
|
"github.com/docker/docker/pkg/system"
|
|
@@ -67,9 +59,14 @@ import (
|
|
|
"github.com/docker/docker/registry"
|
|
|
"github.com/docker/docker/runconfig"
|
|
|
volumesservice "github.com/docker/docker/volume/service"
|
|
|
+ "github.com/moby/buildkit/util/resolver"
|
|
|
"github.com/moby/locker"
|
|
|
"github.com/pkg/errors"
|
|
|
+ "github.com/sirupsen/logrus"
|
|
|
+ "go.etcd.io/bbolt"
|
|
|
"golang.org/x/sync/semaphore"
|
|
|
+ "google.golang.org/grpc"
|
|
|
+ "google.golang.org/grpc/backoff"
|
|
|
)
|
|
|
|
|
|
// ContainersNamespace is the name of the namespace used for users containers
|