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
"Downloaded empty artifact" when oras pull from docker.io #453
With no image on disk, I would expect it to write a tar like any other mime type.
I am writing a TypeScript client to push/pull images AND artifacts and would prefer to only have a single implementation using oras for all the mime types. Don't necessarily need docker hub support, simply using it for testing an image pull.
Activity
qweeah commentedon Jul 21, 2022
ORAS v0.13.0 cannot be used to download an image. It will only download layers annotated with OCI image title
shizhMSFT commentedon Jul 21, 2022
As @qweeah has mentioned, the current oras CLI can only pull named artifacts.
In the future version of
oras, we will supportoras copyfrom a remote registry to a local OCI store or a tarball in OCI layout.FeynmanZhou commentedon Jul 21, 2022
Is it corresponding to this feature request?
shizhMSFT commentedon Jul 21, 2022
@FeynmanZhou Yes, exactly.
qweeah commentedon Jan 20, 2023
Closing as it's already supportted in
oras cp.qweeah commentedon Jan 20, 2023
@codewithcheese You may build from main branch and try below commands to download a image to the
downloadedfolder in current working directoryThis feature will be included in oras 1.0.0-rc.1 release planned for end of Jan 2023.