Docker C: ? ;C

$(pwd) is returning the current directory as expected, but why is it looking for the C: drive after it’s already got to the end of the path?

docker container run  -p 80:80 -v $(pwd):/usr/share/nginx/html nginx

The source path “C:/Users/JonPo/dockertop/1234;C
doesn’t exist and is not known to Docker.

I’ve tried turning docker’s access to the drive on and off.
and I believe I’m logged in, so I’m not sure why it’s giving an error unauthorized…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.