{"id":42147502,"url":"https://github.com/exfly/bmc","last_synced_at":"2026-01-26T17:59:14.952Z","repository":{"id":65199950,"uuid":"527088871","full_name":"exfly/bmc","owner":"exfly","description":"BareMetalContainer: running containers without a daemon","archived":false,"fork":false,"pushed_at":"2023-03-25T03:00:43.000Z","size":58,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T06:37:58.641Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exfly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-08-21T02:44:40.000Z","updated_at":"2024-03-01T08:24:34.000Z","dependencies_parsed_at":"2024-06-20T05:54:18.910Z","dependency_job_id":"bffc73d2-cafb-4b9e-8928-020c2ef3595d","html_url":"https://github.com/exfly/bmc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/exfly/bmc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fbmc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fbmc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fbmc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fbmc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exfly","download_url":"https://codeload.github.com/exfly/bmc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exfly%2Fbmc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28784092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-26T17:59:13.496Z","updated_at":"2026-01-26T17:59:14.933Z","avatar_url":"https://github.com/exfly.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"logo.svg\" alt=\"BMC logo\" width=\"360px\" /\u003e\n\n# BMC\n\n[bmc](https://github.com/exfly/bmc) is a lightweight container runtime environment based on runc. It allows you to run Docker images in tar format without using dockerd. The main goal of this project is to provide convenience for offline software installation and runtime, serving the needs of both development and operations.\n\n## Features\n\n- Runs Docker images in tar format without using dockerd.\n- Supports custom environment variables and data directories.\n- Based on Docker and Linux namespace, it doesn't require strict network isolation.\n- Lightweight images and small runtime environment, with advantages in resource consumption and image size.\n\n## Usage\n\n1. Install dependencies: https://github.com/exfly/bmc/releases\n2. `mv bmc-* /bin/bmc \u0026\u0026 chmod +x /bin/bmc`\n3. `docker save -o dockerimg.tar alpine:edge`\n3. `bmc run --build-rootfs -f /path/to/dockerimg.tar --mount \"type=bind,source=$(pwd)/snap,target=/host\"`\n\n## Build\n\n1. Install dependencies: [earthly](https://earthly.dev/get-earthly) [docker](https://docs.docker.com/desktop/install/mac-install/)\n2. `make earthfile`\n\n## TODO List\n\n- [x] Implement program features.\n- [x] Support loading custom environment variables.\n- [x] support bind mount data directory.\n- [x] Support CI testing.\n- [x] Support arm64.\n- [ ] Refactor spec parsing using https://github.com/opencontainers/runtime-spec/specs-go.\n- [ ] Refactor runc execution using https://0xcf9.org/2021/06/22/embed-and-execute-from-memory-with-golang/.\n\n## Contributing\n\nContributions are welcome through pull requests or issues. If you find a bug, please open a new issue. If you want to add new features or fix issues, please fork the project and submit a pull request.\n\n## License\n\nThis project is licensed under the Apache License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexfly%2Fbmc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexfly%2Fbmc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexfly%2Fbmc/lists"}