{"id":27184268,"url":"https://github.com/quantifyearth/container-image","last_synced_at":"2025-06-11T14:34:09.995Z","repository":{"id":261757807,"uuid":"706306507","full_name":"quantifyearth/container-image","owner":"quantifyearth","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-02T13:17:23.000Z","size":134,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T11:14:16.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quantifyearth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-17T17:28:43.000Z","updated_at":"2024-11-16T15:42:28.000Z","dependencies_parsed_at":"2024-11-08T09:33:06.870Z","dependency_job_id":"72c1849f-1d70-4ccd-afeb-6e3f6cd5d6ae","html_url":"https://github.com/quantifyearth/container-image","commit_stats":null,"previous_names":["samoht/container-image","quantifyearth/container-image"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantifyearth%2Fcontainer-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantifyearth%2Fcontainer-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantifyearth%2Fcontainer-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantifyearth%2Fcontainer-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quantifyearth","download_url":"https://codeload.github.com/quantifyearth/container-image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248068827,"owners_count":21042561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-09T16:40:25.545Z","updated_at":"2025-04-09T16:40:26.019Z","avatar_url":"https://github.com/quantifyearth.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# container-image - Manage OCI and Docker Images in OCaml\n\nThe `container-image` package provides a straightforward OCaml\ninterface for interacting with OCI and Docker image specifications. It\nalso provide a CLI tool (named `container-image) that allows users to\nfetch image layers or inspect image contents on your filesystem.\n\n## Features\n\n- [x] An OCaml API to manage OCI and Docker images\n- [x] Fetch layers of an OCI or Docker image.\n- [ ] Inspect the contents of an image on the local filesystem,\n  complete with a git history for easy diff inspection between layers.\n\n## Installation\n\n### From Source\n\n```bash\ngit clone https://github.com/your-repo/container-image.git\ncd container-image\nopam install . --deps-only\ndune build @install\n```\n\n### Using OPAM (When available)\n\n```bash\nopam install container-image\n```\n\n## Usage\n\n### Fetching Image Layers\n\nTo fetch the layers of an image:\n\n```bash\ncontainer-image fetch IMAGE_NAME[:TAG]\n```\n\nThis command downloads the image layers to the current directory. By\ndefault TAG is `latest`.\n\n### Checking Out Image Contents\n\nTo inspect an image's contents on the local filesystem:\n\n```bash\ncontainer-image checkout [TAG]\n```\n\nAfter running this command, you'll find the image's contents extracted\nto the current directory. Importantly, this checkout will include a\ngit history, allowing you to seamlessly inspect the differences\nbetween layers.\n\n## Documentation\n\nFor an in-depth guide on the `container-image` commands and the\nunderlying OCaml API, check out the [official\ndocumentation](link-to-docs).\n\n## Contributing\n\nContributions to the `container-image` project are welcome!\n\n## License\n\nThis project is licensed under the MIT License. See\n[LICENSE](link-to-license-file) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantifyearth%2Fcontainer-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantifyearth%2Fcontainer-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantifyearth%2Fcontainer-image/lists"}