From 8f8949df52b65d5c10da5c3231e1abe451fab7c4 Mon Sep 17 00:00:00 2001 From: Arisu Tachibana Date: Thu, 5 Sep 2024 17:12:47 +0900 Subject: [PATCH] localinstall: docker-compose as been deprecated for docker compose Signed-off-by: Arisu Tachibana --- localinstall/2-install_api.sh | 4 ++-- localinstall/4-start-cycle.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/localinstall/2-install_api.sh b/localinstall/2-install_api.sh index 504f3c9..1c33ea6 100755 --- a/localinstall/2-install_api.sh +++ b/localinstall/2-install_api.sh @@ -28,8 +28,8 @@ fi cat ../../ssh.key.pub > docker/ssh/user-data/authorized_keys # down, just in case old containers are running -docker-compose down -docker-compose up -d +docker compose down +docker compose up -d echo "Waiting for API to be up" sleep 1 # loop until the API is up, try 5 times diff --git a/localinstall/4-start-cycle.sh b/localinstall/4-start-cycle.sh index 9b6c1fb..5ce5221 100755 --- a/localinstall/4-start-cycle.sh +++ b/localinstall/4-start-cycle.sh @@ -2,8 +2,8 @@ . ./main.cfg cd kernelci/kernelci-pipeline -docker-compose down -docker-compose up -d -echo "You can view now logs of containers using docker logs -f or docker-compose logs -f in kernelci/kernelci-pipeline or kernelci/kernelci-api directories" +docker compose down +docker compose up -d +echo "You can view now logs of containers using docker logs -f or docker compose logs -f in kernelci/kernelci-pipeline or kernelci/kernelci-api directories" echo "Also you can do docker ps to see running containers, and in case of ongoing builds, you can view their logs too by docker logs -f " echo "You can also open API viewer at http://127.0.0.1:8001/viewer"