Skip to content

Issues with Windows 10 Education + Git Bash #17

@agitter

Description

@agitter

There were a few point where the Docker commands did not run as expected in Git Bash on Windows 10 Education with Docker Desktop.

Path for mounted volume

I had to add an extra / to escape the path when mounting a volume for docker run:
docker run -v "/${PWD}":/data csv-to-scatter-plot
See https://stackoverflow.com/questions/50608301/docker-mounted-volume-adds-c-to-end-of-windows-path-when-translating-from-linux

Sharing drive to mount volume

I had to share the C drive in the Docker Desktop settings before I could mount the volume. This didn't work at first but did after restarting Docker Desktop.

Interactive Ubuntu

The interactive docker run command required an extra prefix, as described in https://willi.am/blog/2016/08/08/docker-for-windows-interactive-sessions-in-mintty-git-bash/
winpty docker run -it ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions