# How to get Converter running in Docker

**URL:** <https://forum.techsoft3d.com/t/how-to-get-converter-running-in-docker/3057>\
**Category:** HOOPS Visualize Web\
**Tags:** knowledge-base, how-to, docker\
**Created:** [December 20, 2023, 1:36am UTC](https://forum.techsoft3d.com/t/how-to-get-converter-running-in-docker/3057 "2023-12-20T01:36:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [December 20, 2023, 1:36am UTC](https://forum.techsoft3d.com/t/how-to-get-converter-running-in-docker/3057/1 "2023-12-20T01:36:24Z")

</div>

This knowledgebase article talks about building a Docker image and running a Converter container:

1. Download a fresh Linux copy of Communicator from the [Developer Zone](https://developer.techsoft3d.com/hoops/communicator/downloads/latest), if you don’t have one already.

2. Download the following zip file and unzip its contents to the **root** directory of the extracted package from step #1:  
[docker\_files.zip](https://forum.techsoft3d.com/uploads/short-url/83FFtajMrEmHg3lXL9qCqWOtBHi.zip) (563 Bytes)

So at this point, if you called `ls -l `on the root directory, you would get this:  
 ![docker_ls](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/7/7ab6baf242aad1ebb913419a916849503d2bf3c7.png)

1. Run the following command to ensure that _converter-entrypoint.sh_ has the proper permissions BEFORE building the image:  
`chmod +x converter-entrypoint.sh`

2. Build the Docker image with this command:  
`sudo docker build -t communicator-converter:latest .`

3. Run a Docker container with the following command (NOTE: modifications are needed to fit your environment – marked in bold font):  
sudo docker run --mount type=bind,source= **/home/ubuntu/HOOPS\_Communicator\_2023\_SPXx** /authoring/converter/example/\_data/Moto,target=/opt/ts3d/cadfiles --mount type=bind,source= **/home/ubuntu/HOOPS\_Communicator\_2023\_SPXx** ,target=/opt/ts3d/output communicator-converter --input /opt/ts3d/cadfiles/\_MOTO\_X.asm --output\_scs /opt/ts3d/output/moto.scs --output\_png /opt/ts3d/output/moto.png --license ‘your\_license\_key’

Please change the root directory to fit your environment accordingly. Also, you will need to get your own [license key](https://developer.techsoft3d.com/license_generator) and place it between the single quotes.

Now if all goes according to plan, once the conversion is completed, you should now see _moto.png_ and _moto.scs_ in the root directory:  
 ![docker_moto](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/d/da90ac9e547e2c021d7ba18b45d99c16a9bb26cb.png)

You can, of course, further modify the command in step #5 to include other [Converter command-line options](https://docs.techsoft3d.com/communicator/latest/api_ref/data_import/converter-command-line-options.html).

If you want to explore further, then check out this post on using [Communicator-as-a-Service (Caas)](https://forum.techsoft3d.com/t/conversion-and-streaming-backend-for-hoops-communicator/1314).
