# Official Docker image updated

**URL:** <https://forum.xwiki.org/t/official-docker-image-updated/627>\
**Category:** News & Events\
**Tags:** docker\
**Created:** [September 22, 2017, 6:27am UTC](https://forum.xwiki.org/t/official-docker-image-updated/627 "2017-09-22T06:27:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [September 22, 2017, 6:27am UTC](https://forum.xwiki.org/t/official-docker-image-updated/627/1 "2017-09-22T06:27:26Z")

</div>

I’m happy to announce that I’ve updated the [official XWiki Docker image](https://hub.docker.com/_/xwiki/) yesterday with a new feature: The 3 configuration files (`xwiki.cfg`, `xwiki.properties` and `hibernate.cfg.xml`) are now exposed on your local host in the mapped permanent directory.

More precisely when you start the XWiki container (the one with the Servlet Container) you pass some `-v`parameter to map the permanent directory located inside the container into a local directory on your host machine. For example: `docker run -... -v /my/xwikipermdir:/usr/local/xwiki`. You’ll now see the 3 configuration files directly in `/my/xwikipermdir` and you can modify them and when the container is restarted, XWiki will use them.

The advantage is that the config is easier to modify but also it survives the container. When you upgrade the XWiki image to a newer, provided you map it to you existing permanent directory, you’ll be able to continue using your configuration.

Enjoy!
