Skip to content

[19.03.8] Binding folders are bind from MSYS2/MinGW #1509

@eine

Description

@eine

Expected behavior

Bind folders work in both PowerShell and MinGW.

Actual behavior

After updating to 17.12.0-ce-win46 (15048) Stable 0ac7325, local folders bind to container volumes are not properly shown if docker is executed from MinGW.

Information

  • E9FA3323-7ADF-49BB-A59A-73C64DC4AFC1/2018-01-09_21-24-26.

  • I'm pretty sure it is due to the update, because reverting to Version 17.09.1-ce-win42 (14687) Stable 3176a6a "fixes" it.

Steps to reproduce the behavior

This works (17.12.0):

PS C:\Program Files\Docker\Docker\resources\bin> .\docker.exe run --rm -v d:/test:/test alpine ls -la test
total 5
drwxr-xr-x    2 root     root             0 Jan  9 19:48 .
drwxr-xr-x    1 root     root          4096 Jan  9 20:10 ..
-rwxr-xr-x    1 root     root            20 Jan  9 19:48 testfile.md

This also works (17.09.1):

user@host MINGW64 ~
$ winpty docker run --rm -itv //d/test:/test alpine ls -la test
total 5
drwxr-xr-x    2 root     root             0 Jan  9 19:48 .
drwxr-xr-x    1 root     root          4096 Jan  9 20:31 ..
-rwxr-xr-x    1 root     root            20 Jan  9 19:48 testfile.md

This does not (17.12.0):

user@host MINGW64 ~
$ docker run --rm -v //d/test://test alpine ls -la test
total 4
drwxr-xr-x    2 root     root            40 Jan  9 20:05 .
drwxr-xr-x    1 root     root          4096 Jan  9 20:11 ..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions