This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new d7d7434643c [fix][ci][branch-3.0] Fix docker daemon configuration for
branch-3.0
d7d7434643c is described below
commit d7d7434643cddea6be7cbf2a45d4914f7e72dafe
Author: Lari Hotari <[email protected]>
AuthorDate: Mon Apr 20 09:51:22 2026 +0300
[fix][ci][branch-3.0] Fix docker daemon configuration for branch-3.0
---
.github/actions/tune-runner-vm/action.yml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/.github/actions/tune-runner-vm/action.yml
b/.github/actions/tune-runner-vm/action.yml
index da9c7f06839..8b0125576f8 100644
--- a/.github/actions/tune-runner-vm/action.yml
+++ b/.github/actions/tune-runner-vm/action.yml
@@ -68,7 +68,16 @@ runs:
# stop unnecessary services
sudo systemctl stop php8.3-fpm.service ModemManager.service \
multipathd.service udisks2.service walinuxagent.service || true
-
+
+ # enable docker experimental mode which is
+ # required for using "docker build --squash" /
"-Ddocker.squash=true"
+ # also set the minimum Docker API version to 1.24 for
compatibility with old docker clients
+ # https://www.docker.com/blog/docker-engine-version-29/
+ daemon_json="$(sudo cat /etc/docker/daemon.json 2>/dev/null ||
echo '{}')"
+ echo "$daemon_json" | jq '.experimental = true |
."min-api-version" = "1.24"' | sudo tee /etc/docker/daemon.json
+ # restart docker daemon
+ sudo systemctl restart docker
+
echo '::endgroup::'
# show memory