Skip to content
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

Create persistent docker volume for NCBI nt database rather than system mount #51

Open
sebrauschert opened this issue Jun 1, 2023 · 1 comment
Assignees

Comments

@sebrauschert
Copy link
Owner

@Hobbeist set up a docker volume for the NCBI nt database and mount that with read permissions to overcome the docker permission error in the blast step of the pipeline.
https://earthly.dev/blog/docker-volumes/

@sebrauschert sebrauschert self-assigned this Jun 1, 2023
@sebrauschert
Copy link
Owner Author

sebrauschert commented Jun 1, 2023

copying files over to a volume (moby/moby#25245):

docker container create --name dummy -v myvolume:/root hello-world
docker cp c:\myfolder\myfile.txt dummy:/root/myfile.txt
docker rm dummy

Create a volume in a dedicated path:

docker volume create --opt type=none --opt o=bind --opt device=/data/volumes/testvol testvol

helpful for volume creation: https://www.cloudsigma.com/sharing-data-between-docker-containers/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant