Merge pull request #4881 from dharmab/docs-clarify-docker-link

Documentation: Clarify usage of docker.link()
This commit is contained in:
Mitchell Hashimoto 2014-12-11 17:25:32 -08:00
commit 4c486259f2
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ General settings:
but not to the host machine. Useful for links.
* `link` (method, string argument) - Link this container to another
by name. Example: `docker.link("db:db")`. Note, if you're linking to
by name. The argument should be in the format of `(name:alias)`.
Example: `docker.link("db:db")`. Note, if you're linking to
another container in the same Vagrantfile, make sure you call
`vagrant up` with the `--no-parallel` flag.