From 9dffe573bbbd7054938b08974199e9cfbd56be31 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Mon, 27 Jun 2022 14:44:59 +0200 Subject: [PATCH] Reduce amount of docker logs on the runner --- tests/ci/worker/ubuntu_ami_for_ci.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/ci/worker/ubuntu_ami_for_ci.sh b/tests/ci/worker/ubuntu_ami_for_ci.sh index 2552ce58690..ab4eb0be6ad 100644 --- a/tests/ci/worker/ubuntu_ami_for_ci.sh +++ b/tests/ci/worker/ubuntu_ami_for_ci.sh @@ -57,6 +57,11 @@ cat < /etc/docker/daemon.json { "ipv6": true, "fixed-cidr-v6": "2001:db8:1::/64", + "log-driver": "json-file", + "log-opts": { + "max-file": "5", + "max-size": "1000m" + }, "insecure-registries" : ["dockerhub-proxy.dockerhub-proxy-zone:5000"], "registry-mirrors" : ["http://dockerhub-proxy.dockerhub-proxy-zone:5000"] }