File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 6969 node-version : ' 18.x'
7070 registry-url : ' https://npm.pkg.github.com'
7171 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
7286 - name : Tools Info
7387 run : |
7488 docker info
Original file line number Diff line number Diff line change 3333 "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
3434 $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
3535 sudo apt-get update
36- sudo apt-get install -y docker-ce=5:20.10.* docker-ce-cli=5:20.10.* containerd.io
36+ sudo apt-get install -y docker-ce=5:20.10.* docker-ce-cli=5:20.10.* containerd.io docker-compose-plugin
3737 sudo systemctl restart docker
3838
3939 - name : Verify Docker version, Install and Test
You can’t perform that action at this time.
0 commit comments