Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose invalid bind mount spec when colon in path #5244

Closed
axiix opened this issue Oct 7, 2017 · 1 comment
Closed

docker-compose invalid bind mount spec when colon in path #5244

axiix opened this issue Oct 7, 2017 · 1 comment

Comments

@axiix
Copy link

axiix commented Oct 7, 2017

When trying to use the following bind mount within a docker-compose file version 3.3:
volumes:
- type: bind
source: e:/dev/docker_shared/cache
target: /projects/install/server/jboss/bin/C:/var/local/arc/fs1

I get the following error when using docker-compose up

ERROR: for ei Cannot create container for service ei: invalid bind mount spec "/e/dev/docker_shared/cache:/projects/install/server/jboss/bin/C:/var/local/arc/fs1": invalid mode: /var/local/arc/fs1

The service installed on the container creates the directory with a colon and for now, I won't be able to change that.
Tried to escape the colon but with no success.
docker version:

Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:40:09 2017
OS/Arch: windows/amd64
Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:45:38 2017
OS/Arch: linux/amd64
Experimental: true

@shin- shin- added this to the 1.18.0 milestone Oct 10, 2017
@shin-
Copy link

shin- commented Oct 10, 2017

Thanks for the report!

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

No branches or pull requests

2 participants