[WSL2] bind mount (--mount
) with a directory does not exist does not generate errors
#10422
Closed
3 tasks done
Labels
00EF965D-AD0F-462B-B261-776161C213A0/20210219042536
Actual behavior
With WSL Integration, bind mounting the directory that does not exist in the host
does not generate errors and automatically creates the directory instead.
Expected behavior
docker run
should generate errors, as described in the docsTested the same command with the Ubuntu VM (VMWare Workstation Player):
`docker version` in Ubuntu VM
Information
3.1.0 (51484)
docker version
in WSL2:Steps to reproduce the behavior
bindtest
directory in the host:bindtest
directory is created.The text was updated successfully, but these errors were encountered: