summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2017-02-20 02:00:20 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-02-20 02:06:22 -0500
commit7d6284a079748f919e3e0b8116649cfa5ff8ee8f (patch)
tree7a6f3a22b38f6ecac9631410e19a21904bed6efd /recipes-containers/docker
parent776422fa046e0779b48ddfaaed4fb35651256258 (diff)
downloadmeta-virtualization-7d6284a079748f919e3e0b8116649cfa5ff8ee8f.tar.gz
runc/containerd: create virtual/runc and virtual/containerd
Since there are two implementations of runc and containerd that may not always be in sync, the docker variant, and the opencontainers variable, we create a virtual/* namespace for these components. Anything requiring runc or containerd should set a preferred provider to get the desired/tested variant. We set the default provider to the docker variants, since they are the primary use case for these components. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-containers/docker')
-rw-r--r--recipes-containers/docker/docker_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb
index 46ad26e9..c8ab45a0 100644
--- a/recipes-containers/docker/docker_git.bb
+++ b/recipes-containers/docker/docker_git.bb
@@ -63,7 +63,8 @@ DEPENDS_append_class-target = "lvm2"
63RDEPENDS_${PN} = "curl aufs-util git util-linux iptables \ 63RDEPENDS_${PN} = "curl aufs-util git util-linux iptables \
64 ${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \ 64 ${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \
65 " 65 "
66RDEPENDS_${PN} += "containerd runc" 66RDEPENDS_${PN} += "virtual/containerd virtual/runc"
67
67RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat" 68RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat"
68RSUGGESTS_${PN} = "lxc docker-registry rt-tests" 69RSUGGESTS_${PN} = "lxc docker-registry rt-tests"
69DOCKER_PKG="github.com/docker/docker" 70DOCKER_PKG="github.com/docker/docker"