Skip to content

Commit

Permalink
Update Docker for Mac File Sharing instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sds committed Nov 1, 2016
1 parent b8d7f1f commit b098c2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ It will ask for your sudo password only if necessary.
### Docker for Mac

If you are using [Docker for Mac](https://docs.docker.com/docker-for-mac/),
you need to add `/usr/local/bin` to the list of mountable directories. This
allows Dock to mount itself within the container so you can recursively execute
scripts with Dock shebang lines without creating nested Dock containers. You
can add the path via **Preferences** -> **File Sharing**:
you need to add `/usr/local/Cellar` (if you installed Dock using Homebrew) or
`/usr/local/bin` (if you installed using the Bash script) to the list of mountable
directories.

This allows Dock to mount itself within the container so you can recursively
execute Dock within Dock containers. You can add the path via
**Preferences** -> **File Sharing**:

<p align="center">
<img src="https://raw.githubusercontent.com/brigade/dock/master/doc/img/docker-for-mac-file-sharing.png" width="50%" alt="Docker for Mac File Sharing" />
Expand Down
Binary file modified doc/img/docker-for-mac-file-sharing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b098c2a

Please sign in to comment.