-
Notifications
You must be signed in to change notification settings - Fork 965
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
Docker 25 support #696
Comments
This is also an issue as with 25, running local builds fails with an API issue right away. |
It looks like However, if the docker compose file within the local agent is just updated to version 2.1, then it works. Suggestion found here: docker/compose#5103 (comment) |
I'd be happy to support v25 as well. I tried Docker Engine v25, but I got error message ERROR: client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version I reinstalled Docker Desktop v4.26.1. It worked. |
I'm a bit confused, where does the docker-compose file need to be updated? |
Inside the docker image, at version: '2' If you change it to version: '2.1' then it doesn't complain anymore. |
@Aposhian In this repository? I'm not seeing that folder. |
It isn't in this repository. It is in the |
Now that there have been critical vulnerabilities detected in docker 4.26, as the workaround is no longer tenable. |
After updating the docker compose file within the local agent to version 2.1 the error I just built the new image using
This is my workaround, for now, to not use the old Docker engine version. |
I ran into the same issue. I just presumed it wasn't docker related. But good to know. |
How can the version of docker compose be changed inside this docker image |
CodeBuild installs Docker and Docker Compose in the Here is an example of Dockerfile:
This Dockerfile first removes the existing Docker and Docker Compose binaries, then downloads and extracts the specified Docker version into |
@LZY7977 Thank you. Is there a reason this hasn't made it into the official image? |
Would be great to have CodeBuild images with Docker 25, which was just released. As discussed here, this will make it easier to use BuildKit caching during build jobs.
The text was updated successfully, but these errors were encountered: