Skip to content

Commit

Permalink
tweak mount options
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed Mar 7, 2016
1 parent e81a30a commit 0b1f723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# DhyveOS

DhyveOS is a lightweight Linux distribution made specifically to run [Docker](https://www.docker.com/) containers within the [xhyve](https://github.com/mist64/xhyve) hypervisor on OS X. It runs completely from RAM, is a small ~15MB download and boots in ~5s (YMMV).
DhyveOS is a lightweight Linux distribution made specifically to run [Docker](https://www.docker.com/) containers within the [xhyve](https://github.com/mist64/xhyve) hypervisor on OS X. It runs completely from RAM, is a small ~8MB download and boots in ~5s (YMMV).

## Features

* NFS share automounts to /Users
* 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 [dhyve](https://github.com/nlf/dhyve)
* Designed for use with [dlite](https://github.com/nlf/dlite)
* Default root password: dhyve
* Default docker user password: docker
* Uses the devicemapper storage driver configured in direct-lvm mode with XFS backed volumes
* Uses btrfs for the docker filesystem

## Building

Expand Down
2 changes: 1 addition & 1 deletion rootfs/etc/init.d/S04automount
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ start() {
if [ $? -ne 0 ]; then
adduser -u "$user_id" -G staff -s /bin/sh -D -h "/Users/${user_name}" "$user_name"
fi
mount -t 9p -o trans=virtio -o access=any -o uname="$user_name" host "/Users/${user_name}"
mount -t 9p -o trans=virtio host "/Users/${user_name}"

mkdir -p /home/docker/.ssh
chmod 700 /home/docker/.ssh
Expand Down

0 comments on commit 0b1f723

Please sign in to comment.