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

Errors in running docker-compose #689

Closed
micheldumontier opened this issue May 16, 2018 · 4 comments
Closed

Errors in running docker-compose #689

micheldumontier opened this issue May 16, 2018 · 4 comments
Labels

Comments

@micheldumontier
Copy link

I get the following errors using docker on windows:

c:\code\api-platform-2.2.6>docker-compose up -d
api-platform-226_db_1 is up-to-date
Starting api-platform-226_admin_1 ... error
Starting api-platform-226_client_1 ...
Starting api-platform-226_php_1 ...

Starting api-platform-226_client_1 ... error
e/api-platform-2.2.6/admin': mkdir /host_mnt/c/code: file exists

ERROR: for api-platform-226_client_1 Cannot start service client: error while creating mount source path '/host_mnt/c/cStarting api-platform-226_php_1 ... error

ERROR: for api-platform-226_php_1 Cannot start service php: error while creating mount source path '/host_mnt/c/code/api-platform-2.2.6/api': mkdir /host_mnt/c/code: file exists

ERROR: for admin Cannot start service admin: error while creating mount source path '/host_mnt/c/code/api-platform-2.2.6/admin': mkdir /host_mnt/c/code: file exists

ERROR: for client Cannot start service client: error while creating mount source path '/host_mnt/c/code/api-platform-2.2.6/client': mkdir /host_mnt/c/code: file exists

ERROR: for php Cannot start service php: error while creating mount source path '/host_mnt/c/code/api-platform-2.2.6/api': mkdir /host_mnt/c/code: file exists
ERROR: Encountered errors while bringing up the project.

@teohhanhui
Copy link
Contributor

mkdir /host_mnt/c/code: file exists

It doesn't seem to be a problem with our project.

@teohhanhui
Copy link
Contributor

Maybe related: docker/for-win#1560

@micheldumontier
Copy link
Author

with docker for windows, i easily provide credentials for docker to access the shared drive. but something else is happening... i wonder if it is related to paths in docker-compose.yml

@micheldumontier
Copy link
Author

ok. it was because i had the api-platform directory in a symbolic link directory. feel free to close this!

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

No branches or pull requests

2 participants