docker-compose is kind of oriented towards what I think you are referring to, have you tried that out? I've done a bit with it and was thinking about explaining how I used it in some post but didn't know if it would be very useful outside of what I was doing. If you email me a small description I could probably whip up a docker-compose.yml as an example since it's fun to play around with.