Skip to content

Docker-startup.bat fails to run #18

@patrickml

Description

@patrickml

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions