# How to create custom kurento module scaffold on ubuntu 20.04

**URL:** <https://openvidu.discourse.group/t/how-to-create-custom-kurento-module-scaffold-on-ubuntu-20-04/3943>\
**Category:** How to implement?\
**Tags:** v2\
**Created:** [May 6, 2022, 8:08am UTC](https://openvidu.discourse.group/t/how-to-create-custom-kurento-module-scaffold-on-ubuntu-20-04/3943 "2022-05-06T08:08:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lu15](https://avatars.discourse-cdn.com/v4/letter/l/e79b87/32.png) [@lu15](https://openvidu.discourse.group/u/lu15)\
**Post date:** [May 6, 2022, 8:08am UTC](https://openvidu.discourse.group/t/how-to-create-custom-kurento-module-scaffold-on-ubuntu-20-04/3943/1 "2022-05-06T08:08:28Z")

</div>

Hi.

I’m using openvidu docker image on ubuntu 20.04 and I need to create a custom kurento filter to bluring faces so I’m following this tutorial:

[https://doc-kurento.readthedocs.io/en/stable/user/writing\_modules.html#writing-kurento-modules](https://doc-kurento.readthedocs.io/en/stable/user/writing_modules.html#writing-kurento-modules)

As indicated, it’s needed to install kurento-media-server-dev package (which include kurento-module-scaffold tool) but like I’m using ubuntu 20.04 I have to use the docker image kurento/kurento-media-server-dev.

I’ve inspected this image content and there isn’t any scaffold tool.

Please, could you tell me how I can use this tool in this situation or if there is some alternative?

Thanks in advance.

Regards.

---

<div class="post-metadata">

**Author:** ![j1elo](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/j1elo/32/1516_2.png) [@j1elo](https://openvidu.discourse.group/u/j1elo)\
**Post date:** [May 6, 2022, 10:18am UTC](https://openvidu.discourse.group/t/how-to-create-custom-kurento-module-scaffold-on-ubuntu-20-04/3943/2 "2022-05-06T10:18:29Z")

</div>

Hi, the easiest would be to use the Kurento Docker image as a development environment; for that, you can start a container with a different entrypoint and a bind-mount to your development directory.

An example command would be like this. Let’s say that `work` is your work directory:

```nohighlight
cd ~/work

docker run --pull always --name kurento-work -ti \
    -v "$PWD":/work \
    --entrypoint /bin/bash \
    kurento/kurento-media-server-dev:latest

```

This will create a new container, named `kurento-work`, and mount your work directory into `/work` inside the container.

Now, _inside the container_, you can run `apt-get` and other commands, as normal:

```nohighlight
apt-get update ; apt-get install --yes kurento-media-server-dev

cd /work

kurento-module-scaffold [...]

```

Note that when you `exit` from this container, you can later re-access it again with

```nohighlight
docker start -ai kurento-work

```

and to delete the container when you no longer need it:

```nohighlight
docker container rm kurento-work

```

---

<div class="post-metadata">

**Author:** ![lu15](https://avatars.discourse-cdn.com/v4/letter/l/e79b87/32.png) [@lu15](https://openvidu.discourse.group/u/lu15)\
**Post date:** [May 9, 2022, 8:45am UTC](https://openvidu.discourse.group/t/how-to-create-custom-kurento-module-scaffold-on-ubuntu-20-04/3943/3 "2022-05-09T08:45:26Z")

</div>

Great, I’ve achieved build the scaffold!

Thanks for your held.
