From a74e8657db7a6dad74b7254c8f6a46d91db25fe6 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Fri, 9 Jun 2017 16:36:31 +0100 Subject: [PATCH] Add homebrew instructions Signed-off-by: Justin Cormack --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index aed105d68..8547ae8f9 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,14 @@ to your `PATH` or copy it to somewhere in your `PATH` eg `sudo cp bin/* /usr/loc If you already have `go` installed you can use `go get -u github.com/moby/tool/cmd/moby` to install the `moby` build tool, and `go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit` to install the `linuxkit` tool. +On MacOS there is a `brew tap` available. Detailed instructions are at [linuxkit/homebrew-linuxkit](https://github.com/linuxkit/homebrew-linuxkit), +the short summary is +``` +brew tap linuxkit/linuxkit +brew install --HEAD moby +brew install --HEAD linuxkit +``` + Once you have built the tool, use `moby build linuxkit.yml` to build the example configuration, and `linuxkit run linuxkit` to run locally. Use `halt` to terminate on the console.