Hello all I'm using this guide for Azure OIDC auth...
# all-things-deployment
s
Hello all I'm using this guide for Azure OIDC authentication https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react-azure - I have a problem with restarting the datahub frontend.
Copy code
docker-compose -p datahub -f docker-compose.yml -f docker-compose.override.yml  up datahub-frontend-react
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see <https://docs.docker.com/compose/compose-file/>
I have docker version 20.10.12 so it should match the requirements
b
what version do you see when you run
grep -i version docker-compose.yml
what is the docker-compose cli version -
docker-compose version
? I would suggest to up get latest version of docker-compose and retry the command
s
Hello @bumpy-needle-3184
Copy code
grep -i version docker-compose.yml
version: '3.8'
    image: linkedin/datahub-kafka-setup:${DATAHUB_VERSION:-head}
    image: linkedin/datahub-elasticsearch-setup:${DATAHUB_VERSION:-head}
    image: linkedin/datahub-gms:${DATAHUB_VERSION:-head}
    image: linkedin/datahub-frontend-react:${DATAHUB_VERSION:-head}
    image: acryldata/datahub-actions:${ACTIONS_VERSION:-head}
The docker-compose version is
Copy code
docker-compose version
docker-compose version 1.25.0, build unknown
docker-py version: 4.1.0
CPython version: 3.8.10
OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
Should the docker compose version be at a higher version number ?
b
let me check
s
ok thanks a lot
b
s
Yes that's why I was wondering why it does not work - As I have the requirements needed
b
but looks like ubuntu come with lower version docker-compose cli , you can upgrade docker-compose cli to higher version
s
ok I try that thanks a lot
b
uninstall current version of docker-compose cli and use latest version
s
2.61 I assume
plus1 1
I will try that thanks a lot
it worked thanks
teamwork 1