{"id":19378836,"url":"https://github.com/linbit/containerapi","last_synced_at":"2025-04-23T19:32:32.145Z","repository":{"id":57543003,"uuid":"293765093","full_name":"LINBIT/containerapi","owner":"LINBIT","description":"Go bindings to manage containers in a runtime agnostic way (Docker, podman)","archived":false,"fork":false,"pushed_at":"2024-08-05T08:15:10.000Z","size":571,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-02T19:11:34.971Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/LINBIT.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":"2020-09-08T09:35:53.000Z","updated_at":"2025-03-05T22:03:03.000Z","dependencies_parsed_at":"2024-06-20T16:30:58.942Z","dependency_job_id":"dc4c7b14-cd72-4a11-ae93-a96675359a53","html_url":"https://github.com/LINBIT/containerapi","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LINBIT%2Fcontainerapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LINBIT%2Fcontainerapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LINBIT%2Fcontainerapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LINBIT%2Fcontainerapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LINBIT","download_url":"https://codeload.github.com/LINBIT/containerapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250499922,"owners_count":21440715,"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":"2024-11-10T09:07:33.837Z","updated_at":"2025-04-23T19:32:31.855Z","avatar_url":"https://github.com/LINBIT.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# containerapi\n\nGo bindings to manage containers in a runtime agnostic way.\n\nCurrently supports:\n\n* Docker\n* Podman \u003e= 4.0.0.\n\n## Why?\n\nWhile Podman and Docker API is mostly compatible, we noticed instances where the exact behaviour was slightly different.\nHaving a small set of primitives to cover the most basic container use cases, we can check for divergent behaviour\nin CI and ensure we offer a consistent API for both.\n\n## Development\n\nWe use [`virter`](https://github.com/linbit/virter) for provisioning development machines.\n\n### Run tests\n\n```\ngo test ./...\n```\n\nRun podman tests in a VM:\n\n```\nvirter vm run --name podman-test --id 101 --provision virter/provision-podman.toml alma-8\nvirter vm exec --provision virter/exec-test.toml podman-test\n```\n\nRun docker tests in a VM:\n\n```\nvirter vm run --name docker-test --id 102 --provision virter/provision-docker.toml alma-8\nvirter vm exec --provision virter/exec-test.toml docker-test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinbit%2Fcontainerapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinbit%2Fcontainerapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinbit%2Fcontainerapi/lists"}