Forum Discussion
AlonsoCarles
Mar 21, 2024Copper Contributor
Problem with bind volumes in Docker CLI
Hi, When I create a Docker container with a bind volume using PowerShell 7.4.1, for example, this action: docker run --rm -d -p 80:80 --mount type=bind,target=/usr/share/nginx/html,source=$...
LainRobertson
Mar 22, 2024Silver Contributor
Hi, Carlos.
That makes sense given "pwd" returns an object and not a string.
You likely want to leverage the Path property of the returned object that pwd provides.
Cheers,
Lain