actions / runner-images

GitHub Actions runner images
MIT License
10.28k stars 3.09k forks source link

Windows Server 2019 runner image Docker Engine version updating to v27 #10823

Open jersonACN opened 1 month ago

jersonACN commented 1 month ago

Description

When will the docker engine API be updated to v27 for Windows Server 2019 (windows-2019)? We are using a vendor tool (Aqua Security) for docker image scanning and it has compatibility issue with the Docker Engine API version.

2024-10-21 03:37:35.136 ERROR Failed scanning image : failed pulling image: Failed connecting to remote docker engine: Error response from daemon: client version 1.46 is too new. Maximum supported API version is 1.45

Platforms affected

Runner images affected

Image version and build link

Runner Image Image: windows-2019 Version: 20241018.1.0 Included Software: https://github.com/actions/runner-images/blob/win19/20241018.1/images/windows/Windows2019-Readme.md Image Release: https://github.com/actions/runner-images/releases/tag/win19%2F20241018.1 Runner Image Provisioner Current image version: '20241018.1.0' Agent running as: 'VssAdministrator'

Is it regression?

No

Expected behavior

If the Docker Engine API version of the windows-2019 runner image and Aqua Security scanner tool.

Actual behavior

The issue is caused by a lower version of Docker Engine API compared to the vendor scanning tool.

2024-10-21 03:37:35.136 ERROR Failed scanning image : failed pulling image: Failed connecting to remote docker engine: Error response from daemon: client version 1.46 is too new. Maximum supported API version is 1.45

Repro steps

  1. Use windows-2019 as the MS hosted build agent.
  2. Build, scan a Windows image.
hemanthmanga commented 1 month ago

Hi @jersonACN, Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

jersonACN commented 1 month ago

Hello @vidyasagarnimmagaddi. Will there be plans to use Docker v27 in windows-2019 build agent?

vidyasagarnimmagaddi commented 1 month ago

Hi @jersonACN , We do have plan for changing Docker v27, will raise an announcement , and so that customers will be able to know the changes. thanks.

jersonACN commented 6 days ago

Hello @vidyasagarnimmagaddi. Following up with you about this. Thank you!