amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Request] - Docker version 26 and 27

Open demaziej opened this issue 1 year ago • 8 comments

What package is missing from Amazon Linux 2023? Please describe and include package name. AL2023 currently provides docker version 25.0.6, please provide versions 26 and 27, current docker version is 27.3.1

  • https://github.com/moby/moby/releases/tag/v27.3.1
  • https://github.com/docker/cli/issues?q=sort%3Aupdated-desc+is%3Aclosed+milestone%3A27.3.1

Is this an update to existing package or new package request? update

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify. no

Any additional information you'd like to include. (use-cases, etc)

demaziej avatar Sep 27 '24 10:09 demaziej

Perhaps Amazon can work with Docker so that they themselves support Amazon Linux 2023 install https://docs.docker.com/engine/install/

Until then can we get a list of the docker related package names as [https://github.com/amazonlinux/amazon-linux-2023/issues/400 mentions ](https://github.com/amazonlinux/amazon-linux-2023/issues/400#issuecomment-1635060364). So if we need to uninstall the default Amazon packages we know what they are.

(One might want to install directly from docker to get a newer version sooner to get a newer feature / bug fixes. like https://github.com/moby/moby/issues/48082#issuecomment-2535295760 )

melutovich avatar Dec 27 '24 09:12 melutovich

As an example of where this causes a problem, v26 adds ::1/128 to the container's loopback interface automatically if IPv6 is enabled in the OS, whereas v25 requires manual configuration to achieve the same. Workloads taking advantage of the v26+ behavior without realizing it will fail if moved back to v25.

saxonww avatar Jan 07 '25 18:01 saxonww

@saxonww lots for IPv6 heading for v28 https://github.com/moby/moby/issues/48814

melutovich avatar Jan 07 '25 19:01 melutovich

+1 for this upgrade. We use this AMI for our CI and we've seen instances of this docker layer caching bug which was fixed in buildkit v0.14.

The version of the docker daemon on the latest Amazon Linux 2023 AMI is 25.0.6 which comes bundled with buildkit v0.12.5.

In order to get buildkit v0.14.0 we need the AL2023 AMI to upgrade to 27.0.1 which comes with buildkite v0.14.1.

jaimebarriga avatar Jan 27 '25 15:01 jaimebarriga

current docker version is 27.5.1 https://docs.docker.com/engine/release-notes/27/#2751

melutovich avatar Jan 27 '25 15:01 melutovich

@stewartsmith docker engine v28 has been released.

https://docs.docker.com/engine/release-notes/28/

melutovich avatar Feb 21 '25 08:02 melutovich

Docker v27 comes with buildkit >= v0.15.0 which allows images to be tagged and used by Lambda. Lambda still doesn't support list manifests, so for docker buildkit, you need to use --prefer-index=false for a imagetools create command. (See https://github.com/docker/buildx/pull/2482/commits/7bfae2b8090ecd3473a4abcb9ce17ecf20ca9b4d) after disabling providence and sbom generation.

The actual fix is that Lambda should support registry content types that aren't just plain images (list manifests, etc.). Until that happens (or if it never happens), being able to use buildx to build a single-source image and then add a tag to it with buildx using normal AL2023 utilities is necessary.

for node the packaging was reworked to use alternatives perhaps docker can get some similar attention. https://github.com/amazonlinux/amazon-linux-2023/issues/725

melutovich avatar Jun 07 '25 18:06 melutovich

Are there users that still need Docker 26 and Docker 27 specifically or would Docker 28 & Docker 29 be enough? (I am a Amazone Linux 2023 consumer not part of the AWS team(s))

melutovich avatar Nov 25 '25 21:11 melutovich

Are there users that still need Docker 26 and Docker 27 specifically or would Docker 28 & Docker 29 be enough?

For us (and I suspect most), if 29 were available, we would not need 26-28.

mwebber avatar Dec 09 '25 16:12 mwebber