Skip to content

Commit 8f8949d

Browse files
committed
localinstall: docker-compose as been deprecated for docker compose
Signed-off-by: Arisu Tachibana <[email protected]>
1 parent 08ad517 commit 8f8949d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

localinstall/2-install_api.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ fi
2828
cat ../../ssh.key.pub > docker/ssh/user-data/authorized_keys
2929

3030
# down, just in case old containers are running
31-
docker-compose down
32-
docker-compose up -d
31+
docker compose down
32+
docker compose up -d
3333
echo "Waiting for API to be up"
3434
sleep 1
3535
# loop until the API is up, try 5 times

localinstall/4-start-cycle.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
. ./main.cfg
33

44
cd kernelci/kernelci-pipeline
5-
docker-compose down
6-
docker-compose up -d
7-
echo "You can view now logs of containers using docker logs -f <container_id> or docker-compose logs -f in kernelci/kernelci-pipeline or kernelci/kernelci-api directories"
5+
docker compose down
6+
docker compose up -d
7+
echo "You can view now logs of containers using docker logs -f <container_id> or docker compose logs -f in kernelci/kernelci-pipeline or kernelci/kernelci-api directories"
88
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 <container_id>"
99
echo "You can also open API viewer at http://127.0.0.1:8001/viewer"

0 commit comments

Comments
 (0)