Skip to content

Commit b70660e

Browse files
authored
{LTS} Backport #31158: Use Ubuntu 24.04 on ARM agent (#32146)
1 parent ffa1acb commit b70660e

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

scripts/ci/install_docker.sh

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ if [[ $(dpkg --print-architecture) == "amd64" ]]; then
55
echo "Docker is already installed on AMD64"
66
exit 0
77
fi
8-
# https://docs.docker.com/engine/security/rootless/
9-
/bin/bash -c "$(curl -fsSL https://get.docker.com)"
10-
sudo apt-get install -y uidmap
11-
dockerd-rootless-setuptool.sh install
12-
export XDG_RUNTIME_DIR=/home/cloudtest/.docker/run
13-
PATH=/usr/bin:/sbin:/usr/sbin:$PATH dockerd-rootless.sh &
14-
sleep 5
15-
docker context use rootless
8+
9+
# https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script
10+
curl -fsSL https://get.docker.com -o get-docker.sh
11+
sudo sh ./get-docker.sh
12+
sudo chmod 666 /var/run/docker.sock

0 commit comments

Comments
 (0)