-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
When attempting to run Docker-Startup.bat the following error occurs
C:\**\OSCAL-GUI-master\OSCAL-GUI-master>docker run -p 80:8080 -v "$PWD"/webroot:/var/www/html trafex/alpine-nginx-php7
docker: Error response from daemon: create $PWD/webroot: "$PWD/webroot" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path.
See 'docker run **--help'.**
I believe this is simply because $PWD is not being interpreted by the windows command line, possibly change this to support windows shell or change the extension from .bat to .sh
Metadata
Metadata
Assignees
Labels
No labels