Merge pull request #7573 from torbenmoeller/add-examples-for-virtualbox-share-folder

Added examples for --virtualbox-share-folder
This commit is contained in:
Maria Bermudez 2018-12-27 09:53:40 -08:00 committed by GitHub
commit c1feda284f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -39,7 +39,7 @@ The size of the VM's disk can be configured this way:
- `--virtualbox-no-dns-proxy`: Disable proxying all DNS requests to the host (Boolean value, default to false)
- `--virtualbox-no-share`: Disable the mount of your home directory
- `--virtualbox-no-vtx-check`: Disable checking for the availability of hardware virtualization before the vm is started
- `--virtualbox-share-folder`: Mount the specified directory instead of the default home location. Format: dir:name
- `--virtualbox-share-folder`: Mount the specified directory instead of the default home location.
- `--virtualbox-ui-type`: Specify the UI Type: (gui|sdl|headless|separate)
The `--virtualbox-boot2docker-url` flag takes a few different forms. By
@ -68,6 +68,12 @@ to `.254`. For example, a specified CIDR of `192.168.24.1/24` would have a
DHCP server between `192.168.24.2-25`, a lower bound of `192.168.24.100` and
upper bound of `192.168.24.254`.
With the flag `--virtualbox-share-folder`, you can specify which folder the host
shares with the created machine. The format is `local-folder:machine-folder`.
For example, `\\?\C:\docker-share:\home\users\`. if you specify the flag with the
docker-toolbox using docker-machine from a Windows cmd, it looks like
`C:\docker-share\\:/home/users`. The `:` sign needs to be escaped.
#### Environment variables and default values
| CLI option | Environment variable | Default |