Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bump the minimum required version of Docker and Docker API #6916

@stasadev

Description

@stasadev

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

Sometimes we see user reports of non-working DDEV, where the problem is that they are using a fairly old Docker.

Our current constraint:

var DockerVersionConstraint = ">= 20.10.0-alpha1"

Describe your solution

Bump it to something newer.

Docker supports Ubuntu Focal 20.04 (LTS)
https://docs.docker.com/engine/install/ubuntu/#os-requirements

The previous Ubuntu Bionic 18.04 has support up to Docker 24.0.2
https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/

Debian Bullseye 11 is supported too
https://docs.docker.com/engine/install/debian/#os-requirements

We have this optional check for healthcheck.start_interval that is supported from Docker v25+ in our code

return dockerVersions.GreaterThanOrEqualTo(dockerAPIVersion, "1.44")

Docker API matrix
https://docs.docker.com/reference/api/engine/#api-version-matrix

Describe alternatives

Additional context

I'm not sure which version we want to see minimal, I'm only sure that people had problems with early versions of 20.10+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions