-
Notifications
You must be signed in to change notification settings - Fork 56
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
pubmlstget does not work with docker #180
Comments
You need to do
|
Thank @martinghunt. It works now. |
No you didn't, I should probably add example calls when using docker to the wiki... |
@martinghunt Though your explanation made it worked but when I executed
With this docker image, I can run smoothly the commands written on the wiki, such as: I will have a get_mlst folder inside the
And result folders have non-root permission. |
You could run this using the existing docker container:
ie /data is needed in front of the paths. The resulting ariba_out directory is not owned by root. |
Understood! Thank you. It works but ....the folder is owned by root |
That's interesting. When I run it (using a mac) I get this: |
Those commands I ran on Ubuntu. I guess probably due to Mac uses virtual machine to run docker while Ubuntu uses docker directly. :) |
Thanks. I'll look into changing the docker so it works more easily on ubuntu as well. Thanks for the dockerfile fix! |
When I run this command
docker run --rm -it -v $(pwd):/data/ sangerpathogens/ariba ariba pubmlstget "Staphylococcus aureus" get_mlst
The get_mlst was expected to be in the current directory I run the command but it was not, event when I replaced
$(pwd)
with an absolute path, i.e./home/ubuntu/mlst:/data
but It did not work either.BUT....
If I logged in docker container with
docker run --rm -it -v $(pwd):/data/ sangerpathogens/ariba
and runariba pubmlstget "Staphylococcus aureus" get_mlst
, it worked, and get_mlst appeared on the hostThe text was updated successfully, but these errors were encountered: