From 3d1de5deec788dc781e6afa5d41b9a9543020008 Mon Sep 17 00:00:00 2001 From: Steve Huff Date: Wed, 9 Mar 2016 11:58:03 -0500 Subject: [PATCH] docker-machine-nfs 0.1.0 (new formula) Initial commit of docker-machine-nfs; this is a script that eases the process of enabling NFS sharing (instead of the default VirtualBox) for boot2docker-based Docker VMs. --- Library/Formula/docker-machine-nfs.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Library/Formula/docker-machine-nfs.rb diff --git a/Library/Formula/docker-machine-nfs.rb b/Library/Formula/docker-machine-nfs.rb new file mode 100644 index 000000000000..21c106a53ca0 --- /dev/null +++ b/Library/Formula/docker-machine-nfs.rb @@ -0,0 +1,16 @@ +class DockerMachineNfs < Formula + desc "Activates NFS on docker-machine" + homepage "https://github.com/adlogix/docker-machine-nfs" + url "https://raw.githubusercontent.com/adlogix/docker-machine-nfs/0.1.0/docker-machine-nfs.sh" + version "0.1.0" + sha256 "f7c1742d4644353bb1eb2c2ac4798fd037f7848129ae5e3add1630071521895d" + + def install + mv "docker-machine-nfs.sh", "docker-machine-nfs" + bin.install "docker-machine-nfs" + end + + test do + system "#{bin}/docker-machine-nfs" + end +end