-
Notifications
You must be signed in to change notification settings - Fork 61
Converting local files from buildah fails "Could not find image" #257
Comments
I stumbled over the same issue and thanks to you I figured out what is going on: Support for OCI images in docker2aci was introduced well before OCI image spec 1.0.0 was released. The code has not seen too much of an update since then, at least not functionally. At the time, the Long story short: docker2aci does seem to only implement OCI image spec up until v1.0.0-rc4. buildah creates v1.0.0 (final) images. They are not compatible. I could work around for my usecase by doing:
My go-fu is to weak to fix this right away, but the difference between |
I found someone who already did this: woofwoofinc@d4e8e83 Their |
Oh, this is great! Thanks for pointing me in the right direction. I'm very familiar with go at all (same with all the different manifest formats floating around) so this is really helpful. I'll check out woofwoofinc's branch. |
Hello. I'm really excited about using rkt and have started playing with it a bit. One problem I'm having is that it's really difficult to create images that rkt can use without using Docker. I had hoped docker2aci could help, but it's giving me problems.
I'm currently using buildah (
buildah version 0.10 (image-spec 1.0.0, runtime-spec 1.0.0)
) and docker2aci (docker2aci version v0.17.1-2-g365911f-dirty / appc version 0.8.10
) with both docker outputs and oci outputs:I've searched through a lot of the issues/PRs and it seems like OCI support and various Docker formats are supported, but after adding some debug info to
lib/internal/backend/file/file.go
it looks like it gets hung up on looking forrepositories
orrefs/latest
(seems like it's only checking for one specific format and giving up if it doesn't find it).Any tips? Thanks!
The text was updated successfully, but these errors were encountered: