We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9167c6 commit 7185020Copy full SHA for 7185020
.github/workflows/dev-containers.yml
@@ -69,6 +69,20 @@ jobs:
69
node-version: '18.x'
70
registry-url: 'https://npm.pkg.github.com'
71
scope: '@microsoft'
72
+ - name: Disable containerd image store
73
+ run: |
74
+ # Workaround for https://github.com/moby/moby/issues/52050
75
+ DAEMON_JSON="/etc/docker/daemon.json"
76
+ if [ -f "$DAEMON_JSON" ]; then
77
+ sudo jq '. + {"features": {"containerd-snapshotter": false}}' "$DAEMON_JSON" \
78
+ | sudo tee "${DAEMON_JSON}.tmp" > /dev/null
79
+ sudo mv "${DAEMON_JSON}.tmp" "$DAEMON_JSON"
80
+ else
81
+ echo '{"features": {"containerd-snapshotter": false}}' \
82
+ | sudo tee "$DAEMON_JSON" > /dev/null
83
+ fi
84
+ cat "$DAEMON_JSON"
85
+ sudo systemctl restart docker
86
- name: Tools Info
87
run: |
88
docker info
0 commit comments