laravel-docker-app
laravel-docker-app copied to clipboard
Error on Docker-compose up...can't find directory for Volume Mount
`vscode ➜ /com.docker.devenvironments.code (main) $ docker-compose up Creating comdockerdevenvironmentscode_redis_1 ... error Creating comdockerdevenvironmentscode_app_1 ... Creating comdockerdevenvironmentscode_mysql_1 ...
Creating comdockerdevenvironmentscode_mysql_1 ... error Creating comdockerdevenvironmentscode_app_1 ... error ERROR: for comdockerdevenvironmentscode_mysql_1 Cannot create container for service mysql: invalid mount config for type "bind": bind source path does not exist: /com.docker.devenvironments.code/docker/data/mysql
ERROR: for comdockerdevenvironmentscode_app_1 Cannot create container for service app: invalid mount config for type "bind": bind source path does not exist: /com.docker.devenvironments.code/app
ERROR: for redis Cannot create container for service redis: invalid mount config for type "bind": bind source path does not exist: /com.docker.devenvironments.code/docker/data/redis
ERROR: for mysql Cannot create container for service mysql: invalid mount config for type "bind": bind source path does not exist: /com.docker.devenvironments.code/docker/data/mysql
ERROR: for app Cannot create container for service app: invalid mount config for type "bind": bind source path does not exist: /com.docker.devenvironments.code/app ERROR: Encountered errors while bringing up the project. vscode ➜ /com.docker.devenvironments.code (main) $ `

Turns out it looks like the periods in the directory com.docker.devenvironments.code is the culprit. If you use a directory without the periods in the name it resolves correctly. Now I just have to figure out how to change that directory name and then I can use the DevEnvironments.