I have Docker installed, I get how to download an image and start a container, and I don't need a reference to the commands. What I am looking for is an examples of best practices for setting up a working production web stack. In particular, I am a little unclear on volumes and how containers get their configuration and persist data.
Can anyone please recommend a guide for these topics?
As Docker is very new, lots of interim/advanced stuff I found was spread in small bits on blog posts, recording from meetups with new stuff demoed, etc.
All of that to said that the books are coming out since then, and it's great to avoid having to look in lots of places, but another easy and very useful information source are the official Docker updates:
Did you check out the www.dockerbook.com? That has examples of a web-stack and volumes.
Joel Jensen
Loves all things tech
Here are two guides that I found very useful :
I think the first one is more close to what you are asking. It explains how to configure your containers and setup production stack.