run hmmsearch in HMMER package with parameters(profileHMM and FASTA formatted database file).
example: docker run -it bonohu/debian-hmmsearch2 PF00081 \ ftp://ftp.ensemblgenomes.org/pub/metazoa/release-25/fasta/bombyx_mori/pep/Bombyx_mori.GCA_000151625.1.25.pep.all.fa.gz
contents of 'hmmsearch.sh' script in Dockerfile is as follows.
#!/bin/sh
wget -O hmm.hmm http://pfam.xfam.org/family/$1/hmm
wget -O db.fa.gz $2
hmmsearch hmm.hmm db.fa.gz