Skip to content
/ bmc Public

BareMetalContainer: running containers without a daemon

License

Notifications You must be signed in to change notification settings

exfly/bmc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3cfb2b9 · Mar 25, 2023

History

10 Commits
Mar 19, 2023
Mar 19, 2023
Aug 21, 2022
Aug 21, 2022
Mar 19, 2023
Aug 21, 2022
Feb 1, 2023
Mar 19, 2023
Feb 1, 2023
Mar 19, 2023
Mar 25, 2023
Mar 25, 2023
Aug 21, 2022
Aug 21, 2022
Mar 19, 2023
Mar 19, 2023
Mar 19, 2023
Mar 25, 2023
Aug 21, 2022

Repository files navigation

BMC logo

BMC

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.

Features

  • Runs Docker images in tar format without using dockerd.
  • Supports custom environment variables and data directories.
  • Based on Docker and Linux namespace, it doesn't require strict network isolation.
  • Lightweight images and small runtime environment, with advantages in resource consumption and image size.

Usage

  1. Install dependencies: https://github.com/exfly/bmc/releases
  2. mv bmc-* /bin/bmc && chmod +x /bin/bmc
  3. docker save -o dockerimg.tar alpine:edge
  4. bmc run --build-rootfs -f /path/to/dockerimg.tar --mount "type=bind,source=$(pwd)/snap,target=/host"

Build

  1. Install dependencies: earthly docker
  2. make earthfile

TODO List

Contributing

Contributions 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.

License

This project is licensed under the Apache License. See the LICENSE file for details.