"github.com/opencontainers/runc/libcontainer/configs"
"github.com/opencontainers/runc/libcontainer/devices"
"github.com/opencontainers/runc/libcontainer/label"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
func u32Ptr(i int64) *uint32 { u := uint32(i); return &u }
lntypes "github.com/docker/libnetwork/types"
"github.com/opencontainers/runc/libcontainer/label"
"github.com/opencontainers/runc/libcontainer/user"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
const (
"github.com/opencontainers/runc/libcontainer/apparmor"
"github.com/opencontainers/runc/libcontainer/devices"
"github.com/opencontainers/runc/libcontainer/user"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
func setResources(s *specs.Spec, r containertypes.Resources) error {
import (
"github.com/docker/docker/container"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
func setSeccomp(daemon *Daemon, rs *specs.Spec, c *container.Container) error {
"github.com/Sirupsen/logrus"
"github.com/docker/docker/container"
"github.com/docker/docker/profiles/seccomp"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
func setSeccomp(daemon *Daemon, rs *specs.Spec, c *container.Container) error {
containerd "github.com/docker/containerd/api/grpc/types"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/mount"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
"golang.org/x/net/context"
)
"github.com/Sirupsen/logrus"
containerd "github.com/docker/containerd/api/grpc/types"
"github.com/docker/docker/restartmanager"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
"golang.org/x/net/context"
)
import (
containerd "github.com/docker/containerd/api/grpc/types"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
// Spec is the base configuration for the container. It specifies platform
import (
containerd "github.com/docker/containerd/api/grpc/types"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
func getRootIDs(s specs.Spec) (int, int, error) {
"os"
"runtime"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
func sPtr(s string) *string { return &s }
"fmt"
"github.com/docker/engine-api/types"
- "github.com/opencontainers/specs/specs-go"
+ "github.com/opencontainers/runtime-spec/specs-go"
)
//go:generate go run -tags 'seccomp' generate.go