所以我试图运行一个makefile
来创建一个docker容器,但是在安装的最后,它给了我这个错误:
Creating projectsidewalk-db ... error
ERROR: for projectsidewalk-db Cannot create container for service db: invalid volume specification: '/c/Users/johns/OneDrive/documents/GitHub/sidewalkwebpage/db/init.sh:/docker-entrypoint-initdb.d/init.sh:rw'
ERROR: for db Cannot create container for service db: invalid volume specification: '/c/Users/johns/OneDrive/documents/GitHub/sidewalkwebpage/db/init.sh:/docker-entrypoint-initdb.d/init.sh:rw'
ERROR: Encountered errors while bringing up the project.
make: *** [docker-up-db] Error 1
我尝试设置COMPOSE_CONVERT_WINDOWS_PATHS=1
修复程序,但是它没有用,所以我正在寻找解决方案。