Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCI Artifact manifest #78

Open
termoshtt opened this issue Nov 10, 2022 · 4 comments
Open

OCI Artifact manifest #78

termoshtt opened this issue Nov 10, 2022 · 4 comments
Assignees

Comments

@termoshtt
Copy link
Owner

termoshtt commented Nov 10, 2022

application/vnd.oci.artifact.manifest.v1+json media type definition by OCI https://github.com/opencontainers/image-spec/blob/main/artifact.md

@termoshtt termoshtt self-assigned this Nov 10, 2022
@termoshtt
Copy link
Owner Author

termoshtt commented Nov 12, 2022

There is another definition called ORAS Artifact which defines application/vnd.cncf.oras.artifact.manifest.v1+json https://github.com/oras-project/artifacts-spec/blob/main/artifact-manifest.md

@termoshtt
Copy link
Owner Author

ORAS Artifact is experimentally supported by Azure container registry https://learn.microsoft.com/ja-jp/azure/container-registry/container-registry-oras-artifacts

@termoshtt
Copy link
Owner Author

OCI Artifact manifest is still in draft, introduced in OCI image spec 1.1.0-rc1

@termoshtt
Copy link
Owner Author

OCI Image spec 1.1.0 has been released https://github.com/opencontainers/image-spec/releases/tag/v1.1.0, and above contents are out-dated youki-dev/oci-spec-rs#144

termoshtt added a commit that referenced this issue Apr 13, 2024
Changes
-----------------
- `ocipkg get` returns error if the container is already downloaded.
`ocipkg get --overwrite` option is added to remove existing.
- `ocipkg get` store image manifest as `.manifest.json` and raw blobs
where the contents are stored. For example, `ocipkg get
ghcr.io/termoshtt/ocipkg/static/rust:fb58644` yields following
directory. This helps managing non-`tar.gz` container including #78 and
#44

```
.
├── .blob
│   └── sha256
│       └── df643e35140fb7ee1c4703b5b14ae10ab9aa7971af0a9bcf8f1212c44a14f270
├── .manifest.json
└── libocipkg_static_rust.a
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant