A problem with docker volume mount on windows

  • fennng 
When I tried to mount a windows folder as docker volume, the mounted folder in docker container is empty.
 
docker run –rm -v c:/Users:/data alpine ls  /data
 
I recently changed my windows password.  So I suspected this was the reason.
 
I then reset credentials and reshared C drive. 
 

The problem was solved.
标签:

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注