This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git
The following commit(s) were added to refs/heads/main by this push:
new 8c21e43 Disable containerd for docker compose running in GHA (#140)
8c21e43 is described below
commit 8c21e43e241a32a54bdf8eeceb9099eb27e5e9b4
Author: mrproliu <[email protected]>
AuthorDate: Sat Feb 21 17:30:53 2026 +0800
Disable containerd for docker compose running in GHA (#140)
---
action.yaml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/action.yaml b/action.yaml
index 41a974b..682d9ab 100644
--- a/action.yaml
+++ b/action.yaml
@@ -31,6 +31,22 @@ inputs:
runs:
using: "composite"
steps:
+ - name: Disable containerd image store
+ shell: bash
+ run: |
+ DAEMON_JSON="/etc/docker/daemon.json"
+ if [ -f "$DAEMON_JSON" ]; then
+ sudo jq '. + {"features": {"containerd-snapshotter": false}}'
"$DAEMON_JSON" \
+ | sudo tee "${DAEMON_JSON}.tmp" > /dev/null
+ sudo mv "${DAEMON_JSON}.tmp" "$DAEMON_JSON"
+ else
+ echo '{"features": {"containerd-snapshotter": false}}' \
+ | sudo tee "$DAEMON_JSON" > /dev/null
+ fi
+ sudo systemctl restart docker
+ docker version
+ docker info
+ echo "DOCKER_API_VERSION=$(docker version --format
'{{.Server.APIVersion}}')" >> "$GITHUB_ENV"
- name: Install docker-compose
shell: bash
if: runner.os != 'Windows'