Skip to content

ailispaw/docker-root

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Deprecated!

I won't update it any more and just leave it here.
So you can use it if you want, but it has been moved to https://github.com/bargees/barge. Thanks.

DockerRoot

DockerRoot (formerly RancherOS Lite) is a lightweight Linux distribution made with Buildroot especially to run a Docker daemon as PID 1.

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

It's inspired by the following projects.

Features

  • Based on Buildroot 2016.02 with Linux kernel v4.4.8 and GLIBC.

  • Runs a Docker daemon as PID 1

  • 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: docker

  • Default password: docker

  • 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 + α.

     [docker@docker-root ~]$ 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.

     [docker@docker-root ~]$ 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-2016 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