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

0.1.0 [regression]: invalid reference format oci-archive:app.oci #67

Closed
onlyjob opened this issue Oct 22, 2020 · 6 comments · Fixed by #68
Closed

0.1.0 [regression]: invalid reference format oci-archive:app.oci #67

onlyjob opened this issue Oct 22, 2020 · 6 comments · Fixed by #68

Comments

@onlyjob
Copy link
Contributor

onlyjob commented Oct 22, 2020

After upgrading from 0.0.3 my containers don't start any more:

Couldn't create image: image oci-archive:/mnt/apps/app.oci couldn't be inspected: io.podman.ImageNotFound(Id: oci-archive:/mnt/apps/app.oci, Reason: invalid reference format)

Downgrading back to 0.0.3 fixed the problem...

@jrasell jrasell added the bug label Oct 22, 2020
@towe75
Copy link
Collaborator

towe75 commented Nov 3, 2020

@onlyjob : am i right that you try to reference a local oci archive instead of a repo? I'm surprised that this worked with older versions, i never tested this usecase.

I will have a look. Surely it has to do with driver.createImage() which was introduced a while ago.

@towe75
Copy link
Collaborator

towe75 commented Nov 3, 2020

@onlyjob : would be nice if you build and run directly from branch i_67.

@towe75
Copy link
Collaborator

towe75 commented Nov 4, 2020

FYI, podman 2.x with API V2 is also broken right now, see containers/podman#6744

@towe75 towe75 closed this as completed in #68 Nov 5, 2020
towe75 added a commit that referenced this issue Nov 5, 2020
* Do not explicitely pull images, rely on podman api instead

 Fixed #67

* Improve buildscripts, maintain CHANGELOG
@onlyjob
Copy link
Contributor Author

onlyjob commented Nov 19, 2020

8b84a4f fixed the issue when applied it on top of 0.1.0. Thank you.

The only new thing required is /etc/containers/policy.json.

@onlyjob
Copy link
Contributor Author

onlyjob commented Nov 19, 2020

@onlyjob : am i right that you try to reference a local oci archive instead of a repo?

Yes, that's how I always used Nomad/driver-podman+Podman. :)

@towe75
Copy link
Collaborator

towe75 commented Nov 20, 2020

@onlyjob thanks for feedback 👍
Be aware that it might break again in 0.2.0 onwards, we're tracking this via #69

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 a pull request may close this issue.

3 participants