Site icon 峰哥分享

A problem with docker volume mount on windows

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.
Exit mobile version