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

run-bahmni.sh docker compose check incorrect #22

Open
66Noah2018 opened this issue May 2, 2024 · 0 comments
Open

run-bahmni.sh docker compose check incorrect #22

66Noah2018 opened this issue May 2, 2024 · 0 comments

Comments

@66Noah2018
Copy link

Hi,

It seems the docker compose check in the run-bahmni.sh script is broken (on Ubuntu 22.04.4, last git clone yesterday). Docker compose is installed (outside the bash script I can get the version), but the script says it's not. I debugged that part of the script, it should be:

    if ! [[ $(docker compose version) ]]; then #fixed this line
    echo 'Error: docker compose is not installed. Please install docker compose.' >&2
    exit 1
    fi
    version=$(docker compose version)
    echo "Docker Compose version: $version"
    echo "---"```

With this fix, the script finds the (correct) docker compose installation
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

No branches or pull requests

1 participant