-
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
The new load command still uses the cache directory #10744
Comments
Ping @priyawadhwa |
My bad, I thought that it worked with regular files but it still works with this magic daemon. An example would have been nice.
So it expects an image, rather than a file:
It doesn't work, when trying to pass a file:
|
Probably some overlap with |
KIND has two different commands:
Would be nice to have this in minikube as well |
I think go-containerregistry only supports Docker, it's a limitation in the API... But it probably shouldn't say "docker image", but instead "container image". So that it works with any container runtime, both on host and in the cluster. All of them will support network images and archive images, though. Examples:
Some other tools prefix the legacy things with And the "short names", like Currently we are hardcoding the Docker daemon and the Docker hub... But with Docker getting removed from Kubernetes, we probably shouldn't ? |
Implemented both commands, in
If the argument exists as a file, it is assumed to be a tarball... If you don't want it to check for local files, you can use the flags:
|
Instead of loading to the container runtime directly, it still copies to the cache...
machine.CacheAndLoadImages
This is not needed, it should be able to transfer the file to the machine directly.
With the current API we have to make a remote disk copy, but that is more minor*...
* Eventually it should be possible to stream the tarball directly into the runtime.
But not every runtime supports this at the moment, so load from a temporary file.
The text was updated successfully, but these errors were encountered: