Docker-compose version? #6239
Unanswered
jojochuang
asked this question in
FAQ
Replies: 2 comments
-
CI uses Ubuntu 20.04. Image contains: Docker Compose v1 1.29.2 https://github.com/actions/runner-images/blob/ubuntu20/20240212.2/images/ubuntu/Ubuntu2004-Readme.md |
Beta Was this translation helpful? Give feedback.
0 replies
-
I filed HDDS-9031 a while ago to migrate the acceptance tests to v2. We will need to do some minor modifications due to the unknown service restriction in the newer version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I'm curious about the docker-compose version used in the Ozone's GitHub Action. Where does it get defined and what is the current version?
I'm using docker-compose 2.23.3 on Mac, and running ozonesecure-ha (acceptance HA-secure), it gives me this error:
This is because docker-compose.yaml under ozonesecure-ha defines datanode1, datanode2 and datanode3 services but there's no datanode service.
To workaround this issue, I had to manually change testlib.sh
docker-compose --ansi never up -d --scale datanode="${datanode_count}"
to
docker-compose --ansi never up -d
I suspect this is only happening for newer docker-compose, and that old versions simply ignores undefined services.
Beta Was this translation helpful? Give feedback.
All reactions