remove old docker-toolbox limitation.

This commit is contained in:
Megan Marsh 2019-03-27 15:29:22 -07:00
parent 0e6c779a88
commit af01860fa9
1 changed files with 0 additions and 6 deletions

View File

@ -8,7 +8,6 @@ import (
"os"
"os/exec"
"regexp"
// "runtime"
"strings"
"sync"
@ -270,11 +269,6 @@ func (d *DockerDriver) StartContainer(config *ContainerConfig) (string, error) {
args = append(args, "--privileged")
}
for host, guest := range config.Volumes {
// if runtime.GOOS == "windows" {
// // docker-toolbox can't handle the normal C:\filepath format in CLI
// host = strings.Replace(host, "\\", "/", -1)
// host = strings.Replace(host, "C:/", "/c/", 1)
// }
args = append(args, "-v", fmt.Sprintf("%s:%s", host, guest))
}
for _, v := range config.RunCommand {