Awesome Open Source
Awesome Open Source


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.


  • Built with Buildroot 2019.08 with Linux kernel v4.14.125 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 + α.

     [[email protected] ~]$ 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.

     [[email protected] ~]$ 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



Copyright (c) 2015-2019 A.I. <[email protected]>

Licensed under the GNU General Public License, version 2 (GPL-2.0)

Related Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
shell (9,868
docker (2,740
linux-kernel (92
buildroot (16

Find Open Source By Browsing 7,000 Topics Across 59 Categories