# Build Slicer docker image with preinstalled elastix

**URL:** <https://discourse.slicer.org/t/build-slicer-docker-image-with-preinstalled-elastix/10542>\
**Category:** Support\
**Tags:** docker\
**Created:** [March 4, 2020, 2:11pm UTC](https://discourse.slicer.org/t/build-slicer-docker-image-with-preinstalled-elastix/10542 "2020-03-04T14:11:34Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![ROSENty](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rosenty/32/13334_2.png) [@ROSENty](https://discourse.slicer.org/u/ROSENty)\
**Post date:** [December 30, 2021, 8:33am UTC](https://discourse.slicer.org/t/build-slicer-docker-image-with-preinstalled-elastix/10542/21 "2021-12-30T08:33:39Z")

</div>

could you tell me how to install extension(such as SlicerRT) in docker container(from docker images[https://github.com/Slicer/SlicerDocker](https://github.com/Slicer/SlicerDocker)) manually?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 30, 2021, 5:59pm UTC](https://discourse.slicer.org/t/build-slicer-docker-image-with-preinstalled-elastix/10542/22 "2021-12-30T17:59:17Z")

</div>

The question is answered here:

> [@Installing extension inside a Dockerfile](https://discourse.slicer.org/t/installing-extension-inside-a-dockerfile/13925/12):
>
> Showing GUI or not is your choice, but you need to set up a display server to run the full application. It does not mean that you need to display a GUI at the host. The slicer-notebook docker image that I linked above installs SlicerJupyter. Replace that by SlicerElastix and you are good.

[Previous page](https://discourse.slicer.org/t/build-slicer-docker-image-with-preinstalled-elastix/10542.md?page=1)
