Skip to content

Add support for Docker runtime 20 #531

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

Closed
Andykmcc opened this issue May 31, 2022 · 3 comments
Closed

Add support for Docker runtime 20 #531

Andykmcc opened this issue May 31, 2022 · 3 comments

Comments

@Andykmcc
Copy link

Describe the bug
When trying to use docker version 20 to build an image with amazon linux 2 it fails with the error Phase context status code: YAML_FILE_ERROR Message: Unknown runtime version named '20' of docker. This build image has the following versions: 18, 19. Is adding support for docker 20 on a roadmap? If so, what is the expected timeframe for support?

To Reproduce
Steps to reproduce the behavior:

  1. Make a new buildspec.
  2. include the following phase
phases:
  install:
    runtime-versions:
      docker: 20
...

Expected behavior
The build should succeed using docker 20

Logs
Phase context status code: YAML_FILE_ERROR Message: Unknown runtime version named '20' of docker. This build image has the following versions: 18, 19

Platform (please complete the following information):

  • aws/codebuild/amazonlinux2-x86_64-standard:3.0
@subinataws
Copy link
Contributor

@rahulpatil118
Copy link

Screenshot 2022-11-25 at 12 25 54 AM

@rahulpatil118
Copy link

you have to enable privileged for this to run docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants