neverrend / XMLChecker

Cyber Ninjas XML Checker
GNU General Public License v3.0
1 stars 0 forks source link

Docker does not run on Windows #9

Open eredisg opened 5 years ago

eredisg commented 5 years ago

The following command was ran to build the docker image: docker build . -t cyberninjas/xmlchecker and it returned with the following:

PS C:\Users\eredisg\Documents\XMLChecker> docker run cyberninjas/xmlchecker
Sending build context to Docker daemon  287.7kB
Step 1/5 : FROM python:3.7.4-alpine3.9
 ---> 88f1968a24d8
Step 2/5 : WORKDIR /usr/src/xmlchecker
 ---> Using cache
 ---> f455b116e848
Step 3/5 : COPY . /usr/src/xmlchecker
 ---> Using cache
 ---> eb76b74bfd85
Step 4/5 : RUN pip install defusedxml
 ---> Using cache
 ---> d397f73600bf
Step 5/5 : ENTRYPOINT ["./XMLCheck.py"]
 ---> Using cache
 ---> cec718e194a7
Successfully built cec718e194a7
Successfully tagged cyberninjas/xmlchecker:latest
SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.

When running the docker image using the command docker run cyberninjas/xmlchecker. The following error occurs:

PS C:\Users\eredisg\Documents\XMLChecker> docker run cyberninjas/xmlchecker
': No such file or directory