GitXplorerGitXplorer
n

dhyve-os

public
194 stars
19 forks
2 issues

Commits

List of commits on branch master.
Unverified
e81a30ae117f49c22322d33cff2453d9bf29a1ee

fix kernel config, fix nameserver format, fix docker_extra args

nnlf committed 9 years ago
Unverified
ea0e5ae33161bf5a035c947b80550c11d8183364

copy ssh key instead of trying a symlink, simplify 9p mount options

nnlf committed 9 years ago
Unverified
f446c8b9752407793eb3834b9b864ec5272579cf

kernel compression back to xz

nnlf committed 9 years ago
Unverified
399f4c99e578778c71cea3930e78e592fea08caf

allow extra args, install docker via init script, allow dns servers, change mount options, closes #13, closes #16, closes #20, closes #21

nnlf committed 9 years ago
Unverified
9b917c375c62d5c5dbeb064f7c640dfaafb621c6

Merge branch 'master' of github.com:nlf/dhyve-os

nnlf committed 9 years ago
Unverified
a0cb51f43e29079ba1de5dd79cfdc4b05a4fc2de

start cleanup, allow setting dns server, closes #21

nnlf committed 9 years ago

README

The README file for this repository.

DhyveOS

DhyveOS is a lightweight Linux distribution made specifically to run Docker containers within the xhyve hypervisor on OS X. It runs completely from RAM, is a small ~14MB download and boots in ~5s (YMMV).

Features

  • Uses 9P over virtio to mount your user's home directory so volume mappings work.
  • Docker runs on port 2375 without TLS
  • Designed for use with dlite
  • Default root password: dhyve
  • Default docker user password: docker
  • Uses btrfs for the docker filesystem

Building

Building DhyveOS requires docker. To build it, just run make. Binaries will be located in the output directory.

Downloads and ccache output are stored in named docker volumes to speed up subsequent builds.

Running make clean will remove the output directory as well as the intermediate container (if it exists).

make dist-clean will additionally remove the base image, as well as the named volumes.

If you'd like to tweak the buildroot configuration, run make config. When you save changes they will be copied to the config directory appropriately.

To make changes to the kernel configuration, run make linux-config. When saving, make sure to specify the filename /tmp/config/kernel or your changes will be lost.

Caveat Emptor

DhyveOS is currently designed and tuned for development. Using it for any kind of production workloads at this time is highly discouraged.