Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

jlirochon/docker-helpers-osx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Obsolete stuff ! You should use Docker for Mac instead.


docker-helpers-osx

A small script which simplify NFS file sharing between OS X and a Docker host running in a local virtual machine.

When you start your Docker host, it automatically adds your shared folder to your NFS exports, and automatically mount your it from inside your Docker host.

When you stop your Docker host, it automatically removes the shared folder from your NFS exports.

Finally it provides shortcut to docker commands.

Commands

  • d is a shortcut for docker.
  • dm is a shortcut for docker-machine
  • dm start will start the Docker host
  • dm stop will stop the Docker host
  • dm restart will stop and start again

Installation

  • clone this repository somewhere, for example inside a ~/bin folder.

  • put the following lines in your ~/.profile (edit to your convenance):

    DOCKER_HELPERS_OSX_MACHINE="dev" DOCKER_HELPERS_OSX_NFS_EXPORT="/Users/julien/Workspace" source ~/bin/docker-helpers-osx/docker-helpers-osx.bash

  • reload your ~/.profile by issuing a source ~/.profile command.

About

A small script which simplify NFS file sharing between OS X and a Docker host running in a local virtual machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages