From 20481c7300d68f4e07c5f7bc1334c5bcf641f706 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Sat, 4 Jul 2020 16:57:54 +0200 Subject: [PATCH] templates/common/_base/units: disable docker This adds a condition to docker.socket which it can't fullfil, so that OKD nodes would not run unused docker service. --- templates/common/_base/units/docker.socket.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/common/_base/units/docker.socket.yml diff --git a/templates/common/_base/units/docker.socket.yml b/templates/common/_base/units/docker.socket.yml new file mode 100644 index 0000000000..b5ca85a4b1 --- /dev/null +++ b/templates/common/_base/units/docker.socket.yml @@ -0,0 +1,6 @@ +name: docker.socket +dropins: +- name: mco-disabled.conf + contents: | + [Unit] + ConditionPathExists=/enoent