1

I am trying to execute a docker-compose file on windows but it says that my bind mount config is incorrect

version: '3.9'
services:
 database:
  image: 'mysql:latest' 
  environment:
    MYSQL_ROOT_PASSWORD: 'root'
  ports: 
    - '3306:3306'
  expose: 
    - '3306'
  volumes:
    - type: bind
      source: C:\Users\CY\composetest\data\mysql
      target: '/var/lib/mysql'
 application:
  image: 'dataiku/dss:latest'
  ports: 
    - '10000:10000'
  volumes:
      - type: bind
        source: C:\Users\CY\composetest\data\dss
        target: '/home/dataiku/dss'
Itchydon
  • 2,572
  • 6
  • 19
  • 33
Clear
  • 11
  • 1

0 Answers0