In order to keep the configuration of the installed extensions it is important that you create a Docker volume for the extensions when you create the Extension Manager container.
At the command line this is done with:
-v roon-extensions:/root/.RoonExtensions/lib
If you use the web interface of the QNAP you have to check how to create volumes there.