The way that I use is: buildah inspect --format '{{.Manifest}}' myimagenameorid In the json that's printed out, the mediaType field will list something like this for OCI: application/vnd.oci.image.config.v1+json or this for Docker: application/vnd.docker.distribution.manifest.v2+json They may vary, but looking for oci or docker within will get it. Just thinking, we might have an opportunity though to add an option to inspect to list the type a bit more clearly.... t On 07/28/2019 05:02 AM, svinz82@gmail.com wrote:
Hi,
Thanks for you answers.
All my test where done on a Centos 7 box and I successfully started a container with podman based on this image.
So I'm sure bash was successfully installed and running.
I forgot to mention that I also tested with the '--format docker' as suggested by Tow Sweeney without any success.
How can I check with buildah if the image has been build with the docker image-spec instead of the OCI?
Regards,
_______________________________________________ Buildah mailing list -- buildah@lists.buildah.io To unsubscribe send an email to buildah-leave@lists.buildah.io