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

docker/install: Fix lima failing to download latest Docker archive #477

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

vvoland
Copy link
Contributor

@vvoland vvoland commented Oct 29, 2024

Use the actual version number resolved from the Github releases instead of the latest string.

Use the actual version number resolved from the Github releases instead
of the `latest` string.

Signed-off-by: Paweł Gronowski <[email protected]>
@vvoland vvoland force-pushed the docker-install-archive-version branch from 6a5851c to e2acba1 Compare October 29, 2024 14:46
Copy link
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@@ -230,7 +230,7 @@ export class Install {
daemonConfig: limaDaemonConfig,
dockerSock: `${limaDir}/docker.sock`,
srcType: src.type,
srcArchiveVersion: srcArchive.version?.replace(/^v/, ''),
srcArchiveVersion: this._version, // Use the resolved version (e.g. latest -> 27.4.0)
Copy link
Member

@crazy-max crazy-max Oct 29, 2024

Choose a reason for hiding this comment

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

would be nice if get.docker.com could resolve latest by himself 👀

edit: or at least don't take latest into account

@crazy-max crazy-max merged commit bdd1a42 into docker:main Oct 29, 2024
46 checks passed
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