-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem running getpapers on Docker #87
Comments
Can you try:-
The first error looks like something about windows not liking the formatting of the docker run command. What is the version of docker you are using? It could be that they've changed the flag syntax at some point. |
I tried what you suggested:
I get the same error again. This is the Docker Version installed on my computer:
|
Can you try jamming everything onto one line? It looks like its having trouble with the linebreak. So:
I've removed the volume mount until we get to the bottom of this |
Sounds like a likely problem.
Looking on the internet it seems like `^` might be the way to write
multiline commands on the windows command line. See e.g.
https://stackoverflow.com/questions/605686/windows-how-to-specify-multiline-command-on-command-prompt
…On Mon, 21 Sep 2020 at 16:52, bauhuasbadguy ***@***.***> wrote:
Can you try jamming everything onto one line? It looks like its having
trouble with the linebreak. So:
docker run -it paper_getter getpapers --help
I've removed the volume mount until we get to the bottom of this
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#87 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYDJWZ2CRRO2NMZGPCW6GLSG5ZDJANCNFSM4ROZGH3Q>
.
|
I was able to run it but no output directory was created.
So, the problem might be with mounting volumes in Windows. |
In this command
You are trying to use a location that exists on your windows machine that does not exist inside the docker container. When the -v flag is used it connects a folder on your local machine to a folder inside the docker container. The container will be using a unix file system so will start with a If you want to have a look inside the container you could run
Which will make it look like you are remote sshing into a virtual machine |
Hello, I tried installing dockerised getpapers on my computer which runs Windows 10 Home OS. I was able to install docker, build an image of getpapers but I had trouble running it.
Here is all I did:
docker build -t paper_getter .
Here is what I got:
For which I got,
docker run -it paper_getter -v results:/results
getpapers
For which I got the following error:
The text was updated successfully, but these errors were encountered: