zhoutaoo / SpringCloud

基于SpringCloud2.1的微服务开发脚手架,整合了spring-security-oauth2、nacos、feign、sentinel、springcloud-gateway等。服务治理方面引入elasticsearch、skywalking、springboot-admin、zipkin等,让项目开发快速进入业务开发,而不需过多时间花费在架构搭建上。持续更新中
Apache License 2.0
8.68k stars 3.87k forks source link

Creating docker-compose_mysql-init_1 ... error ERROR: for docker-compose_mysql-init_1 Cannot create container for service mysql-init: invalid volume specification: 'F:\dockerMyHub\SpringCloud-master\docker-compose\init-db.sh:/init-db.sh:rw': invalid mount config for type "bind": source path must be a directory ERROR: for mysql-init Cannot create container for service mysql-init: invalid volume specification: 'F:\dockerMyHub\SpringCloud-master\docker-compose\init-db.sh:/init-db.sh:rw': invalid mount config for type "bind": source path must be a directory ERROR: Encountered errors while bringing up the project. #116

Closed 13619633937lw closed 4 years ago

13619633937lw commented 4 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

zhoutaoo commented 4 years ago

建议使用Cygwin或其它windows下的shell工具运行docker 命令 另外请升级docker或docker compose版本