Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bargees/barge-os
Yet another lightweight Linux distribution for Docker containers
https://github.com/bargees/barge-os
barge buildroot docker linux-kernel
Last synced: 3 months ago
JSON representation
Yet another lightweight Linux distribution for Docker containers
- Host: GitHub
- URL: https://github.com/bargees/barge-os
- Owner: bargees
- License: gpl-2.0
- Created: 2016-04-26T15:07:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T06:04:16.000Z (over 2 years ago)
- Last Synced: 2024-06-03T09:44:46.879Z (5 months ago)
- Topics: barge, buildroot, docker, linux-kernel
- Language: Shell
- Homepage:
- Size: 2.28 MB
- Stars: 160
- Watchers: 9
- Forks: 14
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![barge-logo-800x300](https://cloud.githubusercontent.com/assets/10327896/18331486/2ffa9ec0-7514-11e6-9e2a-be3d69a092bc.png)
# Barge 2.0
Barge is a lightweight Linux distribution built with [Buildroot](http://buildroot.uclibc.org/) specifically to run [Docker](https://www.docker.com/) containers.
It's designed for a local development in a virtual machine.
It's inspired by the following projects.
- [Only Docker](https://github.com/ibuildthecloud/only-docker)
- [RancherOS](https://github.com/rancherio/os)
- [RancherOS Base System](https://github.com/rancher/os-base)
- [Boot2Docker](https://github.com/boot2docker/boot2docker)
- [DhyveOS](https://github.com/nlf/dhyve-os)## Features
- Built with Buildroot 2022.05 with Linux kernel v4.14.282 and glibc.
- Strip down the Linux kernel modules and drivers
- Busybox + the following utilities from Buildroot
- sudo, bash, wget, xz, sntp, logrotate
- ssh, scp, sftp, rsync
- acpid, sshd, dhcpcd, xtables-multi
- e2fsck, mke2fs, resize2fs, tune2fs
- Default username: bargee
- Default password: bargee
- [dumb-init](https://github.com/Yelp/dumb-init) binary is built-in /usr/bin.e.g., `docker run -d -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init `
- [pkg](https://github.com/bargees/barge-pkg) command is built-in. You can install individual packages from Buildroot + α.
```bash
[bargee@barge ~]$ pkg
Usage: pkg {build|install} [-f] [build options]
pkg show
pkg list
```e.g., `sudo pkg install vim`
- Enable to switch between Docker versions.
```bash
[bargee@barge ~]$ sudo /etc/init.d/docker
Usage /etc/init.d/docker {start|stop|restart|status} [|latest|default]
```e.g., `sudo /etc/init.d/docker restart latest`
## Documentation
- [How to build Barge](./docs/build.md)
- [Customization of Barge](./docs/customization.md)## License
Copyright (c) 2015-2022 A.I. <[email protected]>
Licensed under the GNU General Public License, version 2 (GPL-2.0)
http://opensource.org/licenses/GPL-2.0## Related Projects
- [Barge Packer for VirtualBox and QEMU](https://github.com/bargees/barge-packer)
- [Barge running on xhyve hypervisor](https://github.com/bargees/barge-xhyve)
- [Package Installer for Barge](https://github.com/bargees/barge-pkg)
- [Barge docker image](https://github.com/bargees/barge-docker-image)