# Not working "Numbered Reference Macro" how to change xwiki.properties ? (docker instance)

**URL:** <https://forum.xwiki.org/t/not-working-numbered-reference-macro-how-to-change-xwiki-properties-docker-instance/8655>\
**Category:** Help / Discuss\
**Tags:** macro, docker, extension\
**Created:** [April 26, 2021, 6:39pm UTC](https://forum.xwiki.org/t/not-working-numbered-reference-macro-how-to-change-xwiki-properties-docker-instance/8655 "2021-04-26T18:39:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JayBeRayBearGun](https://forum.xwiki.org/user_avatar/forum.xwiki.org/jayberaybeargun/32/3144_2.png) [@JayBeRayBearGun](https://forum.xwiki.org/u/JayBeRayBearGun)\
**Post date:** [April 26, 2021, 6:39pm UTC](https://forum.xwiki.org/t/not-working-numbered-reference-macro-how-to-change-xwiki-properties-docker-instance/8655/1 "2021-04-26T18:39:43Z")

</div>

I have a recently install docker xwiki instance running. The “Numbered Reference Macro” gives me some problems to get working. Basically the reference does not appear in the output. Then I discovered I need to edit xwiki.properties which I did according to the instructions by adding the line

rendering.transformations = macro, icon, numberedheadings, numberedfigures

However it still won’t budge. Upon inspection the xwiki.properties file reverted to its original status (without my edits). Coincidentally I edited outside docker.

docker cp xwiki.properties xwiki:/usr/local/tomcat/webapps/ROOT/WEB-INF/

What’s going on? What would be the proper way to get a correct xwiki.properties file?

---

<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:** [April 26, 2021, 6:51pm UTC](https://forum.xwiki.org/t/not-working-numbered-reference-macro-how-to-change-xwiki-properties-docker-instance/8655/2 "2021-04-26T18:51:22Z")

</div>

Hi, you need to edit the `xwiki.properties` file located in your mapped perm dir. See [xwiki-docker/README.md at master · xwiki/xwiki-docker · GitHub](https://github.com/xwiki/xwiki-docker/blob/master/README.md#configuration-options)

Excerpt:

> The main XWiki configuration files (`xwiki.cfg` , `xwiki.properties` and `hibernate.cfg.xml` ) are available in the mapped local directory for the permanent directory on your host.

FYI these files are copied to the image whenever you start your xwiki container. The very first time, they are copied from the image to the mapped perm dir.

---

<div class="post-metadata">

**Author:** ![JayBeRayBearGun](https://forum.xwiki.org/user_avatar/forum.xwiki.org/jayberaybeargun/32/3144_2.png) [@JayBeRayBearGun](https://forum.xwiki.org/u/JayBeRayBearGun)\
**Post date:** [April 26, 2021, 7:06pm UTC](https://forum.xwiki.org/t/not-working-numbered-reference-macro-how-to-change-xwiki-properties-docker-instance/8655/3 "2021-04-26T19:06:45Z")

</div>

Awsome! Works (should’ve known) Thanks!
