Skip to content

bargees/barge-os

Repository files navigation

barge-logo-800x300

Barge 2.0

Barge is a lightweight Linux distribution built with Buildroot specifically to run Docker containers.

It's designed for a local development in a virtual machine.

It's inspired by the following projects.

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 binary is built-in /usr/bin.

    e.g., docker run -d -v /usr/bin/dumb-init:/dumb-init:ro --entrypoint=/dumb-init <image> <command>

  • pkg command is built-in. You can install individual packages from Buildroot + α.

     [bargee@barge ~]$ pkg
     Usage: pkg {build|install} [-f] <package-name> [build options]
            pkg show <package-name>
            pkg list

    e.g., sudo pkg install vim

  • Enable to switch between Docker versions.

     [bargee@barge ~]$ sudo /etc/init.d/docker
     Usage /etc/init.d/docker {start|stop|restart|status} [<version>|latest|default]

    e.g., sudo /etc/init.d/docker restart latest

Documentation

License

Copyright (c) 2015-2022 A.I. <ailis@paw.zone>

Licensed under the GNU General Public License, version 2 (GPL-2.0)
http://opensource.org/licenses/GPL-2.0

Related Projects