Docker volume container/other techniques

I am a newbie to Docker and exploring the various design patterns…
I am trying to find a easy solution to spin up data ,perform operation and rollback/discard any changes to data without persisting the data. It seems like an opposite analogy, but i am trying to see if we can extend the stateless nature to data as well.

I understand, the data can be imported/mounted as volumes into Docker (data volume/data volume container) , but changes in one of the container would persist the data and reflect in a sort of centralized manner.

I am trying to see if I can rollback each container changes so that each container data is truly isolated and doesn’t impact one another.

Any thoughts on this and if there is a easy way to handle this?