-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
UI: Add progressbar when downloading kic base image #10887
Conversation
Support for tarball was added in google/go-containerregistry#675 For daemon submitted upstream as google/go-containerregistry#972 |
dd55b2f
to
2cfc608
Compare
Sadly this breaks the digest handling, so the image is downloaded over-and-over instead /hold |
Apparently had an old image in the cache or something, because it worked now... first start
second start
/unhold |
It seems like it is the "--download-only" that is broken, it doesn't update the digest. Docker never does that when loading from a tarball, like go-containerregistry does. When using the normal start, it will continue and let docker tag the image properly. i.e. it will be without a digest initially, but the |
Fixed the image digest, with the usual Now you can do $ ./out/minikube start --download-only
π minikube v1.18.1 on Ubuntu 20.04
β¨ Using the docker driver based on existing profile
π Starting control plane node minikube in cluster minikube
π Pulling base image ...
> gcr.io/k8s-minikube/kicbase...: 353.96 MiB / 353.96 MiB 100.00% 9.39 MiB
β
Download complete!
$ ./out/minikube start --download-only
π minikube v1.18.1 on Ubuntu 20.04
β¨ Using the docker driver based on existing profile
π Starting control plane node minikube in cluster minikube
β
Download complete! Before it would start over again, due to the missing digest after daemon.Write. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afbjorklund, medyagh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Closes #7012