A template is a WordPress installation, so you do not have to touch low level stuff like docker configs.
You will basically get a freshly installed WordPress site (the template). Then you do all your WordPress settings as admin and save the state of the template. The demos will inherit this state, but still be completely separated.
You can test it for free, go to wpdemo.cloud and check it out. Feedback is highly appreciated!