diff --git a/daemon/container_operations_unix.go b/daemon/container_operations_unix.go index d2b849445e..02497fa2a4 100644 --- a/daemon/container_operations_unix.go +++ b/daemon/container_operations_unix.go @@ -25,7 +25,7 @@ import ( "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 } diff --git a/daemon/daemon_unix.go b/daemon/daemon_unix.go index d1a9f2320b..9d5fba366e 100644 --- a/daemon/daemon_unix.go +++ b/daemon/daemon_unix.go @@ -38,7 +38,7 @@ import ( "github.com/golang/protobuf/ptypes" "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 ( diff --git a/daemon/oci_linux.go b/daemon/oci_linux.go index f9aa7d4ac1..8e161af72c 100644 --- a/daemon/oci_linux.go +++ b/daemon/oci_linux.go @@ -23,7 +23,7 @@ import ( "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 { diff --git a/daemon/seccomp_disabled.go b/daemon/seccomp_disabled.go index 4ad1b7c53f..ff1127b6c2 100644 --- a/daemon/seccomp_disabled.go +++ b/daemon/seccomp_disabled.go @@ -6,7 +6,7 @@ import ( "fmt" "github.com/docker/docker/container" - "github.com/opencontainers/specs/specs-go" + "github.com/opencontainers/runtime-spec/specs-go" ) var supportsSeccomp = false diff --git a/daemon/seccomp_linux.go b/daemon/seccomp_linux.go index e9622787ee..3581dc4ab5 100644 --- a/daemon/seccomp_linux.go +++ b/daemon/seccomp_linux.go @@ -8,7 +8,7 @@ import ( "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" ) var supportsSeccomp = true diff --git a/docs/reference/commandline/dockerd.md b/docs/reference/commandline/dockerd.md index 6487371360..ccf120c3b9 100644 --- a/docs/reference/commandline/dockerd.md +++ b/docs/reference/commandline/dockerd.md @@ -590,7 +590,7 @@ options for `zfs` start with `zfs` and options for `btrfs` start with `btrfs`. ## Docker runtime execution options The Docker daemon relies on a -[OCI](https://github.com/opencontainers/specs) compliant runtime +[OCI](https://github.com/opencontainers/runtime-spec) compliant runtime (invoked via the `containerd` daemon) as its interface to the Linux kernel `namespaces`, `cgroups`, and `SELinux`. diff --git a/hack/vendor.sh b/hack/vendor.sh index 1251dfdf06..9768528869 100755 --- a/hack/vendor.sh +++ b/hack/vendor.sh @@ -103,7 +103,7 @@ clone git github.com/docker/go v1.5.1-1-1-gbaf439e clone git github.com/agl/ed25519 d2b94fd789ea21d12fac1a4443dd3a3f79cda72c clone git github.com/opencontainers/runc cc29e3dded8e27ba8f65738f40d251c885030a28 # libcontainer -clone git github.com/opencontainers/specs v1.0.0-rc1 # specs +clone git github.com/opencontainers/runtime-spec v1.0.0-rc1 # specs clone git github.com/seccomp/libseccomp-golang 32f571b70023028bd57d9288c20efbcb237f3ce0 # libcontainer deps (see src/github.com/opencontainers/runc/Godeps/Godeps.json) clone git github.com/coreos/go-systemd v4 diff --git a/libcontainerd/client_linux.go b/libcontainerd/client_linux.go index b9e7415f38..6b25f5bb43 100644 --- a/libcontainerd/client_linux.go +++ b/libcontainerd/client_linux.go @@ -16,7 +16,7 @@ import ( "github.com/docker/docker/pkg/mount" "github.com/golang/protobuf/ptypes" "github.com/golang/protobuf/ptypes/timestamp" - specs "github.com/opencontainers/specs/specs-go" + specs "github.com/opencontainers/runtime-spec/specs-go" "golang.org/x/net/context" ) diff --git a/libcontainerd/container_linux.go b/libcontainerd/container_linux.go index 454478b5c2..4ed9f659dc 100644 --- a/libcontainerd/container_linux.go +++ b/libcontainerd/container_linux.go @@ -12,7 +12,7 @@ import ( "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" ) diff --git a/libcontainerd/types_linux.go b/libcontainerd/types_linux.go index 4f714a2329..86a42d2c1f 100644 --- a/libcontainerd/types_linux.go +++ b/libcontainerd/types_linux.go @@ -2,7 +2,7 @@ package libcontainerd 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 diff --git a/libcontainerd/types_solaris.go b/libcontainerd/types_solaris.go index 637e54300f..f107ac0ebc 100644 --- a/libcontainerd/types_solaris.go +++ b/libcontainerd/types_solaris.go @@ -1,7 +1,7 @@ package libcontainerd import ( - "github.com/opencontainers/specs/specs-go" + "github.com/opencontainers/runtime-spec/specs-go" ) // Spec is the base configuration for the container. It specifies platform diff --git a/libcontainerd/utils_linux.go b/libcontainerd/utils_linux.go index 5b67244f0c..1c1ced04ad 100644 --- a/libcontainerd/utils_linux.go +++ b/libcontainerd/utils_linux.go @@ -2,7 +2,7 @@ package libcontainerd 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) { diff --git a/oci/defaults_linux.go b/oci/defaults_linux.go index 479620d346..8955467bf9 100644 --- a/oci/defaults_linux.go +++ b/oci/defaults_linux.go @@ -4,7 +4,7 @@ import ( "os" "runtime" - "github.com/opencontainers/specs/specs-go" + "github.com/opencontainers/runtime-spec/specs-go" ) func sPtr(s string) *string { return &s } diff --git a/oci/defaults_solaris.go b/oci/defaults_solaris.go index f3ed5c9c77..24139585fa 100644 --- a/oci/defaults_solaris.go +++ b/oci/defaults_solaris.go @@ -1,7 +1,7 @@ package oci import ( - "github.com/opencontainers/specs/specs-go" + "github.com/opencontainers/runtime-spec/specs-go" ) // DefaultSpec returns default oci spec used by docker. diff --git a/plugin/manager_linux.go b/plugin/manager_linux.go index 18ca460a80..b9ae328626 100644 --- a/plugin/manager_linux.go +++ b/plugin/manager_linux.go @@ -17,7 +17,7 @@ import ( "github.com/docker/docker/restartmanager" "github.com/docker/engine-api/types" "github.com/docker/engine-api/types/container" - "github.com/opencontainers/specs/specs-go" + "github.com/opencontainers/runtime-spec/specs-go" ) func (pm *Manager) enable(p *plugin, force bool) error { diff --git a/plugin/manager_windows.go b/plugin/manager_windows.go index d423254e74..c242fb3bcd 100644 --- a/plugin/manager_windows.go +++ b/plugin/manager_windows.go @@ -5,7 +5,7 @@ package plugin import ( "fmt" - "github.com/opencontainers/specs/specs-go" + "github.com/opencontainers/runtime-spec/specs-go" ) func (pm *Manager) enable(p *plugin, force bool) error { diff --git a/profiles/seccomp/seccomp.go b/profiles/seccomp/seccomp.go index 7a58e2c521..c965bbbcdc 100644 --- a/profiles/seccomp/seccomp.go +++ b/profiles/seccomp/seccomp.go @@ -7,7 +7,7 @@ import ( "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 diff --git a/profiles/seccomp/seccomp_default.go b/profiles/seccomp/seccomp_default.go index d23c7732e3..f9061505c2 100644 --- a/profiles/seccomp/seccomp_default.go +++ b/profiles/seccomp/seccomp_default.go @@ -6,7 +6,7 @@ import ( "syscall" "github.com/docker/engine-api/types" - "github.com/opencontainers/specs/specs-go" + "github.com/opencontainers/runtime-spec/specs-go" libseccomp "github.com/seccomp/libseccomp-golang" ) diff --git a/profiles/seccomp/seccomp_unsupported.go b/profiles/seccomp/seccomp_unsupported.go index ec7399cd01..b3906f916f 100644 --- a/profiles/seccomp/seccomp_unsupported.go +++ b/profiles/seccomp/seccomp_unsupported.go @@ -4,7 +4,7 @@ package seccomp import ( "github.com/docker/engine-api/types" - "github.com/opencontainers/specs/specs-go" + "github.com/opencontainers/runtime-spec/specs-go" ) // DefaultProfile returns a nil pointer on unsupported systems. diff --git a/vendor/src/github.com/opencontainers/specs/LICENSE b/vendor/src/github.com/opencontainers/runtime-spec/LICENSE similarity index 100% rename from vendor/src/github.com/opencontainers/specs/LICENSE rename to vendor/src/github.com/opencontainers/runtime-spec/LICENSE diff --git a/vendor/src/github.com/opencontainers/specs/specs-go/config.go b/vendor/src/github.com/opencontainers/runtime-spec/specs-go/config.go similarity index 100% rename from vendor/src/github.com/opencontainers/specs/specs-go/config.go rename to vendor/src/github.com/opencontainers/runtime-spec/specs-go/config.go diff --git a/vendor/src/github.com/opencontainers/specs/specs-go/state.go b/vendor/src/github.com/opencontainers/runtime-spec/specs-go/state.go similarity index 100% rename from vendor/src/github.com/opencontainers/specs/specs-go/state.go rename to vendor/src/github.com/opencontainers/runtime-spec/specs-go/state.go diff --git a/vendor/src/github.com/opencontainers/specs/specs-go/version.go b/vendor/src/github.com/opencontainers/runtime-spec/specs-go/version.go similarity index 100% rename from vendor/src/github.com/opencontainers/specs/specs-go/version.go rename to vendor/src/github.com/opencontainers/runtime-spec/specs-go/version.go