diff options
Diffstat (limited to 'recipes-containers/docker/docker/0001-docker.service-add-clear-linux-oci-runtime.patch')
-rw-r--r-- | recipes-containers/docker/docker/0001-docker.service-add-clear-linux-oci-runtime.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-containers/docker/docker/0001-docker.service-add-clear-linux-oci-runtime.patch b/recipes-containers/docker/docker/0001-docker.service-add-clear-linux-oci-runtime.patch new file mode 100644 index 0000000..f127726 --- /dev/null +++ b/recipes-containers/docker/docker/0001-docker.service-add-clear-linux-oci-runtime.patch @@ -0,0 +1,26 @@ +From 3d8de3552b778d26f6783edebb7e97ed39e93d0c Mon Sep 17 00:00:00 2001 +From: Todor Minchev <todor.minchev@linux.intel.com> +Date: Tue, 15 Aug 2017 16:09:49 -0700 +Subject: [PATCH] docker.service add clear linux oci runtime + +Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> +--- + contrib/init/systemd/docker.service | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/contrib/init/systemd/docker.service b/contrib/init/systemd/docker.service +index 8bfed93c7..5a730e618 100644 +--- a/contrib/init/systemd/docker.service ++++ b/contrib/init/systemd/docker.service +@@ -9,7 +9,7 @@ Type=notify + # the default is not to use systemd for cgroups because the delegate issues still + # exists and systemd currently does not support the cgroup feature set required + # for containers run by docker +-ExecStart=/usr/bin/dockerd -H fd:// ++ExecStart=/usr/bin/dockerd -D --add-runtime cor=/usr/bin/cc-oci-runtime.sh --default-runtime=cor -H fd:// + ExecReload=/bin/kill -s HUP $MAINPID + LimitNOFILE=1048576 + # Having non-zero Limit*s causes performance problems due to accounting overhead +-- +2.13.2 + |