-
Notifications
You must be signed in to change notification settings - Fork 72
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
Conversation
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
internal/podman/client.go
Outdated
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 |
There was a problem hiding this comment.
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
Proposed changes
Add warning for docker engine/podman minimum versions.
Jira ticket: CLOUDP-268553
Testing