mirror of https://github.com/docker/docs.git
Merge pull request #993 from ehazlett/windows-vbox-share
Windows vbox share
This commit is contained in:
commit
031e257f9c
drivers/virtualbox
|
@ -330,10 +330,13 @@ func (d *Driver) Create() error {
|
|||
|
||||
var shareName, shareDir string // TODO configurable at some point
|
||||
switch runtime.GOOS {
|
||||
case "windows":
|
||||
shareName = "c/Users"
|
||||
shareDir = "c:\\Users"
|
||||
case "darwin":
|
||||
shareName = "Users"
|
||||
shareDir = "/Users"
|
||||
// TODO "linux" and "windows"
|
||||
// TODO "linux"
|
||||
}
|
||||
|
||||
if shareDir != "" {
|
||||
|
|
Loading…
Reference in New Issue