aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/docker/0001-docker.service-add-clear-linux-oci-runtime.patch
blob: f127726b56cfc513354908454dd337a4213a7cc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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