Skip to content

Commit d2be085

Browse files
authored
Merge pull request #3135 from usings/fix/remote-server-docker-version
fix: align `DOCKER_VERSION` with official installation script
2 parents c9aaee1 + 9213061 commit d2be085

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/server/src/setup/server-setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const serverSetup = async (
7373
export const defaultCommand = (isBuildServer = false) => {
7474
const bashCommand = `
7575
set -e;
76-
DOCKER_VERSION=27.0.3
76+
DOCKER_VERSION=28.5.0
7777
OS_TYPE=$(grep -w "ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"')
7878
SYS_ARCH=$(uname -m)
7979
CURRENT_USER=$USER
@@ -524,7 +524,7 @@ if ! [ -x "$(command -v docker)" ]; then
524524
echo "Please install Docker manually."
525525
exit 1
526526
fi
527-
curl -s https://releases.rancher.com/install-docker/$DOCKER_VERSION.sh | sh 2>&1
527+
528528
if ! [ -x "$(command -v docker)" ]; then
529529
curl -s https://get.docker.com | sh -s -- --version $DOCKER_VERSION 2>&1
530530
if ! [ -x "$(command -v docker)" ]; then

0 commit comments

Comments
 (0)