From 087db7f2d37ea58633b2e5248ed2c421888e1253 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ferenc=20T=C3=B3th?= Date: Thu, 20 Jun 2019 10:21:38 +0200 Subject: [PATCH] Enable docker daemon experimental features MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit `docker build --squash` requires docker daemon experimental mode enabled. (This is valid for builder systems only, the product remains intact.) Signed-off-by: Ferenc Tóth Change-Id: I130832123d460716e938c0dbcec6cdbfdd4ab7e6 --- jjb/akraino-templates/akraino-ta-common-macros.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jjb/akraino-templates/akraino-ta-common-macros.yaml b/jjb/akraino-templates/akraino-ta-common-macros.yaml index 33f7f00..8ed76b5 100644 --- a/jjb/akraino-templates/akraino-ta-common-macros.yaml +++ b/jjb/akraino-templates/akraino-ta-common-macros.yaml @@ -219,6 +219,8 @@ - shell: |2- sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum -y install docker-ce docker-ce-cli containerd.io + sudo mkdir -p /etc/docker/ + echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json sudo systemctl start docker # Ugly hack to make docker usable for non-root # (adding to the group would require re-login) -- 2.16.6