You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pushing an image manifest JSON [feature request] #238
It looks to me as if you are trying to use ORAS to build container images, without any other artifacts involved. Please, correct me if I'm wrong.
I'm pushing artifacts that happen to be tarballs, and I've added OCI container image metadata to make them look like a container image, even though they're not really..
I don't think ORAS is supposed to be used for this purpose... Have you considered using umoci?
I didn't know about umoci. Thanks for the link! I'll check it out.
BTW, which version of ORAS are you using? I've used v0.10.0 and v0.11.0 and no option --manifest exists. Could it be that you mean --manifest-config?
Sorry, I wasn't clear. The --manifest option doesn't currently exist. That's my feature request. 😁
I have constructed a application/vnd.oci.image.manifest.v1+json JSON file, which is also used by ORAS. I'd like to push and tag that JSON file to an OCI registry.
Hi @sjackman,
The oras cli is focused on pushing/pulling file[s]. If you're looking to push a manifest, that references existing digests, that is a more generic registry tool that we haven't currently focused on.
We are pursing #181, which would split up the oras cli and oras libraries into separate repos. This would allow you to add use the manifest put library (once it's factored out) and build a cli with it.
However, if umoci or scope solve your needs, that's also great as we're not trying to replace those tools. We see oras focsed on the non-container image artifacts as there are many tools that focus on the complex details of images.
Activity
Silvanoc commentedon Mar 17, 2021
It looks to me as if you are trying to use ORAS to build container images, without any other artifacts involved. Please, correct me if I'm wrong.
I don't think ORAS is supposed to be used for this purpose... Have you considered using umoci?
BTW, which version of ORAS are you using? I've used v0.10.0 and v0.11.0 and no option
--manifestexists. Could it be that you mean--manifest-config?sjackman commentedon Mar 17, 2021
I'm pushing artifacts that happen to be tarballs, and I've added OCI container image metadata to make them look like a container image, even though they're not really..
I didn't know about
umoci. Thanks for the link! I'll check it out.Sorry, I wasn't clear. The
--manifestoption doesn't currently exist. That's my feature request. 😁I have constructed a
application/vnd.oci.image.manifest.v1+jsonJSON file, which is also used by ORAS. I'd like to push and tag that JSON file to an OCI registry.https://github.com/opencontainers/image-spec/blob/master/manifest.md#image-manifest
SteveLasker commentedon Apr 7, 2021
Hi @sjackman,
The
orascli is focused on pushing/pulling file[s]. If you're looking to push a manifest, that references existing digests, that is a more generic registry tool that we haven't currently focused on.We are pursing #181, which would split up the
orascli andoras librariesinto separate repos. This would allow you to add use the manifest put library (once it's factored out) and build a cli with it.However, if umoci or scope solve your needs, that's also great as we're not trying to replace those tools. We see
orasfocsed on the non-container image artifacts as there are many tools that focus on the complex details of images.sjackman commentedon Apr 7, 2021
https://github.com/containers/skopeo worked for me! Thanks, Steve. You can close this issue. I now use
skopeoto upload the artifacts and eitherskopeoororasorcurlto download the artifacts.sajayantony commentedon Jul 27, 2022
Manifest push discussed in #459 should cover this.
yizha1 commentedon Aug 31, 2022
Covered by #472
shizhMSFT commentedon Sep 15, 2022
Addressed and closed by #494