I am trying to wrap my head around how to run this particular workflow with docker.
volumes
container, appserver container on database and so on. Step 1 is clear to me after reading advanced docker volumes and tiny docker pieces
My question is related to step 2. How do I cleanly manage to reproduce this new environment with all the interdependent containers up and running properly with a (hopefully)single command?
You can use fig or maestro-ng.
The first one was designed for development environments, while the second one was designed for production environments; but both let you define a number of containers, with dependencies between them, and spin them up very easily from a single command.