-
Notifications
You must be signed in to change notification settings - Fork 62
Converting local files from buildah fails "Could not find image" #257
Description
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:
# try with OCI
$ #sudo buildah bud /path/to/docker/repo
# success, creates image 183427cef41c
$ sudo buildah push 183427cef41c oci:my-app.oci:latest
# success, creates my-app.oci
$ docker2aci -debug ./my-app.oci
Getting image info...
getting image id...
Error: conversion error: Could not find image# try with docker
$ sudo buildah bud /path/to/docker/repo
# success, creates image 183427cef41c
$ sudo buildah push 183427cef41c docker-archive:my-app.docker:latest
# success, creates my-app.docker
$ docker2aci -debug ./my-app.docker
Getting image info...
getting image id...
Error: conversion error: Could not find imageI'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 for repositories or refs/latest (seems like it's only checking for one specific format and giving up if it doesn't find it).
Any tips? Thanks!