Closed tadast closed 7 months ago
Hi @tadast, sorry you run into trouble. Please, try mounting /ect/ssl/certs
from host to your docker container. This worked for me in GCP and AWS cloud shells:
docker run --rm -v $HOME/sequence:/blast/blastdb:ro -v /etc/ssl/certs:/etc/ssl/certs:ro ncbi/magicblast magicblast -sra SRR597644 -subject /blast/blastdb/subject.fa
@boratyng thanks for your swift response, it was a helpful pointer 🙌 It's a bit fiddly to achieve the same on macOS. On AWS Fargate you also don't have access to the underlying host machine to mount its certs.
I've resolved the issue by building a new Docker image that installs ca-certificates
. Any reason not to do the same in this image? I'd be happy to open a PR.
# Dockerfile
FROM "ncbi/magicblast"
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
@tadast , thank you for the suggestion. I am working on the updates.
The docker image and sources were updated.
Splendid, thank you Greg!
Hello,
I'm trying to run magicblast from the docker image, but I'm getting a certification verification issue.
I get the same issue when I run "ncbi/magicblast" on an AWS Fargate instance too. Any ideas what could be wrong?