Skip to content
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

CLOUDP-268553: Add warning for docker engine/podman minimum versions #3234

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

jeroenvervaeke
Copy link
Collaborator

Proposed changes

Add warning for docker engine/podman minimum versions.

Jira ticket: CLOUDP-268553

Testing

  • Tested locally
  • Updated unit tests

@jeroenvervaeke jeroenvervaeke requested a review from a team as a code owner September 5, 2024 13:44
var errParseHealthCheck = errors.New("parsing image healthcheck failed")
var errListContainer = errors.New("container listing failed")
var errParsingContainer = errors.New("container parsing failed")
var errDecodingJSON = errors.New("container decoding failed")
var errParsingPorts = errors.New("parsing ports failed")
var errConvertHostPort = errors.New("converting host port failed")
var errConvertContainerPort = errors.New("converting container port failed")
var minDockerVersion = semver.New(27, 0, 0, "", "") //nolint:mnd
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our promise is the last two, so I would stick 26

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

27.0+ is what the docs say. Should we update the docs too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes our current epic (linux stability) will update the docs

Copy link
Collaborator

@fmenezes fmenezes Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed offline, let's keep only the latest

ErrPodmanNotFound = errors.New("podman not found in your system, check requirements at https://dochub.mongodb.org/core/atlas-cli-deploy-local-reqs")
ErrPodmanNotFound = errors.New("podman not found in your system, check requirements at https://dochub.mongodb.org/core/atlas-cli-deploy-local-reqs")
ErrDeterminingPodmanVersion = errors.New("could not determine docker version")
minPodmanVersion = semver.New(5, 2, 0, "", "") //nolint:mnd
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can check with Ciprian but I think we need to support latest two majors, which would mean v4.9 minimum

fmenezes
fmenezes previously approved these changes Sep 5, 2024
@jeroenvervaeke jeroenvervaeke merged commit 95c9c44 into master Sep 9, 2024
17 of 19 checks passed
@jeroenvervaeke jeroenvervaeke deleted the CLOUDP-268553 branch September 9, 2024 08:22
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

Successfully merging this pull request may close these issues.

2 participants