Skip to content

Commit d07e62a

Browse files
author
vac (Brendan)
authored
Merge pull request #2 from almosnow/main
fix: 'docker-compose' is deprecated, using new syntax for v2
2 parents 1d0bd19 + 42be00d commit d07e62a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ notes () {
77
======== WARM TIPS ========
88
Before you submit any github issue, please do the following check:
99
* make sure the docker daemon is running
10-
* make sure you use docker-compose v2: recommend 2.x.x, got $(docker-compose version --short 2>/dev/null || echo not install)
10+
* make sure you use docker compose v2: recommend 2.x.x, got $(docker compose version --short 2>/dev/null || echo not install)
1111
* check your internet connection if timeout happens
1212
===========================
1313
EOF
@@ -25,10 +25,10 @@ cd apitable || exit 1
2525
curl -fLo docker-compose.tar.gz "${DOWNLOAD_URL}"
2626
tar -xvzf docker-compose.tar.gz
2727

28-
docker-compose down -v --remove-orphans
28+
docker compose down -v --remove-orphans
2929
for i in {1..50}; do
30-
if docker-compose pull; then
31-
if docker-compose up -d; then
30+
if docker compose pull; then
31+
if docker compose up -d; then
3232
break
3333
fi
3434
fi

0 commit comments

Comments
 (0)