docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.86k stars 289 forks source link

LCOW Can't bind file? #1360

Closed khs1994 closed 6 years ago

khs1994 commented 6 years ago

Expected behavior

Actual behavior

Information

Steps to reproduce the behavior

docker run -it --rm \
  --mount type=bind,src=C:\Users\90621\lnmp\config\mysql\mysql.conf.d\mysqld.cnf,target=/etc/mysql/mysql.conf.d/mysqld.cnf \
  mysql:5.7.20 \
  bash
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: invalid mount config for type "bind": source path must be a directory.
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.
khs1994 commented 6 years ago

https://github.com/moby/moby/issues/35425

docker-robott commented 6 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

rn commented 6 years ago

closing as there is an upstream issues

docker-robott commented 4 years ago

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked