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
|
@ -330,10 +330,13 @@ func (d *Driver) Create() error {
|
||||||
|
|
||||||
var shareName, shareDir string // TODO configurable at some point
|
var shareName, shareDir string // TODO configurable at some point
|
||||||
switch runtime.GOOS {
|
switch runtime.GOOS {
|
||||||
|
case "windows":
|
||||||
|
shareName = "c/Users"
|
||||||
|
shareDir = "c:\\Users"
|
||||||
case "darwin":
|
case "darwin":
|
||||||
shareName = "Users"
|
shareName = "Users"
|
||||||
shareDir = "/Users"
|
shareDir = "/Users"
|
||||||
// TODO "linux" and "windows"
|
// TODO "linux"
|
||||||
}
|
}
|
||||||
|
|
||||||
if shareDir != "" {
|
if shareDir != "" {
|
||||||
|
|
Loading…
Reference in New Issue