# Cd: can't cd to /mender-convert

**URL:** <https://hub.mender.io/t/cd-cant-cd-to-mender-convert/3904>\
**Category:** General Discussions\
**Created:** [July 19, 2021, 1:04pm UTC](https://hub.mender.io/t/cd-cant-cd-to-mender-convert/3904 "2021-07-19T13:04:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![batesenergy](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/batesenergy/32/1320_2.png) [@batesenergy](https://hub.mender.io/u/batesenergy)\
**Post date:** [July 19, 2021, 1:04pm UTC](https://hub.mender.io/t/cd-cant-cd-to-mender-convert/3904/1 "2021-07-19T13:04:08Z")

</div>

I have been following this [guide](https://docs.mender.io/system-updates-debian-family/convert-a-mender-debian-image) to convert a custom piOS image into a mender artifact. I have built the docker container to run mender-convert. After I run the container i get this output error from docker:

**/usr/local/bin/docker-entrypoint.sh: 21: cd: can’t cd to /mender-convert**

Do i need to mount the container to the directory requested?

---

<div class="post-metadata">

**Author:** ![lramirez](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lramirez/32/1195_2.png) [@lramirez](https://hub.mender.io/u/lramirez)\
**Post date:** [July 21, 2021, 4:38am UTC](https://hub.mender.io/t/cd-cant-cd-to-mender-convert/3904/2 "2021-07-21T04:38:18Z")

</div>

Hi @batesenergy,

This is the first time I see this error. Can you share your exact commands? My guessing is you are prepending a “/” in some point. Can you double-check the steps described in the repository? [GitHub - mendersoftware/mender-convert: An easy way to integrate the Mender client into an existing image](https://github.com/mendersoftware/mender-convert)

Regards,  
Luis

---

<div class="post-metadata">

**Author:** ![batesenergy](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/batesenergy/32/1320_2.png) [@batesenergy](https://hub.mender.io/u/batesenergy)\
**Post date:** [July 22, 2021, 5:37pm UTC](https://hub.mender.io/t/cd-cant-cd-to-mender-convert/3904/3 "2021-07-22T17:37:57Z")

</div>

@lramirez I tried the script on my ubuntu workstation and all worked well. It looks like the script fails when running on my mac?
