Non Persistent Mount

Hello I have many cronjobs who includes sakuli tests. Now I have a “production” and a “test”. So I created a little tool who replaces all variables in code with the right string. So that I can change the urls and so on. The problem is when I change it it will stay. So is there any possible solution to do it with a non consistent volume? So my idea is a mount that works like a normal mount, but the changes in the container will not give to the host.

Any other solutions? I will manipulate my tests with different urls on different production states and I think that this is the best solution or?

Grettings

Dominik