Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Unable to use docer volumes #133

Closed
ErBlack opened this issue Aug 3, 2017 · 0 comments
Closed

Unable to use docer volumes #133

ErBlack opened this issue Aug 3, 2017 · 0 comments

Comments

@ErBlack
Copy link

ErBlack commented Aug 3, 2017

v5.0.2 update brokes docker commands like this one:

cross-env-shell docker run --rm -v ${PWD}:/project/ alpine ls /project

Because of

docker: Error response from daemon: invalid bind mount spec "/C/Users/Username/Project:\\project\\": invalid volume specification: '/C/Users/username/Project:\project\': invalid mount config for type "bind": invalid mount path: '\project\' mount path must be absolute.
See 'docker run --help'.

So path.normalize broke volume mount path.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant