Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update services #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update services #6

wants to merge 1 commit into from

Conversation

SBlechmann
Copy link

removed ${dockerCmd} -> replaced with simple "docker-compose"

docker always threw errors

$ ./services postgres
Stopping running containers
unknown shorthand flag: 'f' in -f
See 'docker --help'.

removed ${dockerCmd} -> replaced with simple "docker-compose"
@jason-fox
Copy link
Member

According to the Docker Documentation docker compose (without the hyphen) is now a valid command, since the docker-compose commands (with the hyphen) have been rolled into the main docker client. The docker client kept pestering users to switch it to docker compose - so I did. The script still supports the olderdocker-compose version if necessary with:

./services start legacy

I think this comes down to the version of docker you are using - could you try the following and compare:

docker -v
Docker version 20.10.12, build e91ed57
docker-compose -v
docker-compose version 1.29.2, build 5becea4c

According to the FIWARE docs to use the docker compose you'll need Docker version 20.10 or higher and Docker Compose 1.29 to use the ./services start directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants