Skip to content

Commit 166be49

Browse files
committed
Upgrade to use the Docker Engine compose command
1 parent e359ff3 commit 166be49

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ docker-compose -v
429429
docker version
430430
```
431431

432-
Docker バージョン 18.03 以降と Docker Compose 1.21 以上を使用していることを確認
432+
Docker バージョン 18.03 以降と Docker Compose 1.29 以上を使用していることを確認
433433
し、必要に応じてアップグレードしてください。
434434

435435
<a name="cygwin-for-windows"></a>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ docker-compose -v
359359
docker version
360360
```
361361

362-
Please ensure that you are using Docker version 18.03 or higher and Docker Compose 1.21 or higher and upgrade if
362+
Please ensure that you are using Docker version 20.10 or higher and Docker Compose 1.29 or higher and upgrade if
363363
necessary.
364364

365365
## Cygwin

services

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ loadData () {
2222
}
2323

2424
stoppingContainers () {
25-
echo "Stopping containers"
26-
docker-compose --log-level ERROR -p fiware down -v --remove-orphans
25+
echo "Stopping running containers"
26+
docker compose -p fiware down -v --remove-orphans
2727
}
2828

2929
displayServices () {
@@ -102,12 +102,12 @@ case "${command}" in
102102
"start")
103103
export $(cat .env | grep "#" -v)
104104
stoppingContainers
105-
echo -e "Starting four containers \033[1;34mOrion\033[0m, \033[1;36mIoT-Agent\033[0m, \033[1;30mTutorial\033[0m and a \033[1;30mMongoDB\033[0m database."
105+
echo -e "Starting containers: \033[1;34mOrion\033[0m, \033[1;36mIoT-Agent\033[0m, \033[1;30mTutorial\033[0m and a \033[1;30mMongoDB\033[0m database."
106106
echo -e "- \033[1;34mOrion\033[0m is the context broker"
107107
echo -e "- \033[1;36mIoT-Agent\033[0m is configured for the UltraLight Protocol"
108108
echo -e "- \033[1;30mTutorial\033[0m acts as a series of dummy IoT Sensors over HTTP"
109109
echo ""
110-
docker-compose --log-level ERROR -p fiware up -d --remove-orphans
110+
docker compose -p fiware up -d --remove-orphans
111111
waitForMongo
112112
addDatabaseIndex
113113
waitForOrion
@@ -123,7 +123,7 @@ case "${command}" in
123123
export $(cat .env | grep "#" -v)
124124
echo "Pulling Docker images"
125125
docker pull curlimages/curl
126-
docker-compose --log-level ERROR -p fiware pull
126+
docker compose -p fiware pull
127127
;;
128128
*)
129129
echo "Command not Found."

0 commit comments

Comments
 (0)