-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Can not create a container from oci-archive via http api #8927
Comments
@vrothberg I believe this was disabled intentionally? Is there a recommended alternative (e.g. doing a manual load on the image first?) |
That's right. Only the |
@vrothberg : please explain how this should work. AFAIK the image/load api is supposed to upload a image from some http client to the podman server. But the older, varlink based, create call expected a oci-archive directly on the podman node. That is quite some difference and has a huge impact on both performance and storage io. Also in the context of our nomad plugin: each spawned task would again have to load the same image because we can not tell if it was imported before. There is no way to get image name and tags from the oci-archive via podman etc. Is there some other alternative? |
@towe75, that's right. A client would have to upload the oci-archive, and then we can use the previously loaded image to create and run containers. I don't think that the archive has to be uploaded each and every time. We can check the presence of an image via the Would that work for you? |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I'm not able to use the http api to create a container backed by a oci-archive.
This was possible with the older, varling based, api.
Steps to reproduce the issue:
Describe the results you received:
I've got a "invalid reference format" error.
Additional information you deem important (e.g. issue happens only occasionally):
This is related to hashicorp/nomad-driver-podman#69
Output of
podman version
:The text was updated successfully, but these errors were encountered: