Skip to content

cn build for kubeedge| Yet another lightweight Linux distribution for Docker containers

License

Notifications You must be signed in to change notification settings

infrastlabs/fk-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 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 + α.

     [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-2019 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

About

cn build for kubeedge| Yet another lightweight Linux distribution for Docker containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 80.8%
  • Dockerfile 13.1%
  • Makefile 6.1%