-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected default volumes root directory for Windows
Signed-off-by: Olli Janatuinen <[email protected]>
- Loading branch information
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// +build !windows | ||
|
||
package volume | ||
|
||
const ( | ||
// DefaultDockerRootDirectory is the default directory where volumes will be created. | ||
DefaultDockerRootDirectory = "/var/lib/docker-volumes" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// +build windows | ||
|
||
package volume | ||
|
||
const ( | ||
// DefaultDockerRootDirectory is the default directory where volumes will be created. | ||
DefaultDockerRootDirectory = `C:\ProgramData\docker-volumes` | ||
) |