$ winpty docker run -it -v c: / data: / data alpine ls data
上的将Windows; C设置为该卷,并输出以下错误消息。 该命令在git bash中执行 我该如何解决这个问题?
$ winpty docker run -it -v c:/data:/data alpine ls data
C:/Program Files/Docker/Docker/Resources/bin/docker.exe: Error response from daemon: Mount denied:
The source path "c;C:\\Program Files\\Git\\data;C"
is not a valid Windows path.
See 'C:/Program Files/Docker/Docker/Resources/bin/docker.exe run --help'.