# Unable to install metaphlan using docker image

**URL:** <https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247>\
**Category:** MetaPhlAn\
**Created:** [November 10, 2020, 4:10pm UTC](https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247 "2020-11-10T16:10:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![leannmlindsey](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@leannmlindsey](https://forum.biobakery.org/u/leannmlindsey)\
**Post date:** [November 10, 2020, 4:10pm UTC](https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247/1 "2020-11-10T16:10:58Z")

</div>

I have not been able to install metaphlan using the docker image. I had no trouble installing humann with the docker image. Is there any reason that the metaphlan image would not work in the same way? I am using singularity to make a module to install on a CHPC.

---

<div class="post-metadata">

**Author:** ![fbeghini](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/fbeghini/32/81_2.png) [@fbeghini](https://forum.biobakery.org/u/fbeghini)\
**Post date:** [November 12, 2020, 9:51am UTC](https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247/2 "2020-11-12T09:51:30Z")

</div>

Hi, which Docker image are you referring to? Can you provide a log with the errors you are experiencing?

---

<div class="post-metadata">

**Author:** ![leannmlindsey](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@leannmlindsey](https://forum.biobakery.org/u/leannmlindsey)\
**Post date:** [November 12, 2020, 6:14pm UTC](https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247/3 "2020-11-12T18:14:28Z")

</div>

Yes, I have tried  
docker://biobakery/metaphlan:3.0.1  
docker://biobakery/metaphlan:latest  
docker://biobakery/metaphlan

They all failed with similar log files. I have the docker://biobakery/metaphlan:3.0.1 log file attached.[containerBuild8726398.outerror.txt](https://forum.biobakery.org/uploads/short-url/4MDVWzE8TabSVWXoZn1TTIy6Cpk.txt) (6.6 KB)

---

<div class="post-metadata">

**Author:** ![fbeghini](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/fbeghini/32/81_2.png) [@fbeghini](https://forum.biobakery.org/u/fbeghini)\
**Post date:** [November 20, 2020, 10:51am UTC](https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247/4 "2020-11-20T10:51:06Z")

</div>

It seems that this issue is related to Singularity. Can you provide the command line you used to convert the Docker image to a SIF?

---

<div class="post-metadata">

**Author:** ![Keepi983](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/keepi983/32/540_2.png) [@Keepi983](https://forum.biobakery.org/u/Keepi983)\
**Post date:** [January 19, 2021, 5:11am UTC](https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247/5 "2021-01-19T05:11:08Z")

</div>

Even I am facing the problem with docker pull. I am getting the error as following. Couldn’t figure out where it is going wrong? Please help.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/1X/1efcbad14e509620dca0f2eb95c44e9d88810080.png)

---

<div class="post-metadata">

**Author:** ![fbeghini](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/fbeghini/32/81_2.png) [@fbeghini](https://forum.biobakery.org/u/fbeghini)\
**Post date:** [January 19, 2021, 10:35am UTC](https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247/6 "2021-01-19T10:35:45Z")

</div>

It looks like you don’t have permissions to write in `/usr`.  
@lauren.j.mciver , should Docker be able to write in there?

---

<div class="post-metadata">

**Author:** ![Keepi983](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/keepi983/32/540_2.png) [@Keepi983](https://forum.biobakery.org/u/Keepi983)\
**Post date:** [January 20, 2021, 6:07am UTC](https://forum.biobakery.org/t/unable-to-install-metaphlan-using-docker-image/1247/8 "2021-01-20T06:07:20Z")

</div>

/usr has all read, write and execute permissions.  
 ![MicrosoftTeams-image](https://canada1.discourse-cdn.com/flex027/uploads/biobakery/original/1X/6ccef1ab46aed4ea3bf01092e1d56fcd71444586.png)
