windows doesn't support mount config for type "bind" where source path is a file
windows supports only folders to be "bind-ed"
PS C:\diamol\ch07\exercises\todo-list-postgres> docker-compose up -d
todo-list-postgres_todo-db_1 is up-to-date
Creating todo-list-postgres_todo-web_1 ... error
ERROR: for todo-list-postgres_todo-web_1 Cannot create container for service todo-web: invalid mount config for type "bind": source path must be a directory
ERROR: for todo-web Cannot create container for service todo-web: invalid mount config for type "bind": source path must be a directory
ERROR: Encountered errors while bringing up the project.
windows doesn't support mount config for type "bind" where source path is a file windows supports only folders to be "bind-ed"
PS C:\diamol\ch07\exercises\todo-list-postgres> docker-compose up -d todo-list-postgres_todo-db_1 is up-to-date Creating todo-list-postgres_todo-web_1 ... error
ERROR: for todo-list-postgres_todo-web_1 Cannot create container for service todo-web: invalid mount config for type "bind": source path must be a directory
ERROR: for todo-web Cannot create container for service todo-web: invalid mount config for type "bind": source path must be a directory ERROR: Encountered errors while bringing up the project.