2 months ago I got "Docker for Rails Developer" book. It's easy to follow step by step for beginner.
However I haven't try it for production purpose, because my projects are not ready yet to use Docker for production. There will many changes on assets, database, and caching system. So I use it for development environment only till now.
After few days learning this Docker thing, I found great gem to build Dockerfile and docker-compose.yml files rails. The gem is dockrails, it uses unison to sync your files.
If I could give a recommendation for you, I would recommend you to read "Docker for Rails Developer" book first, try to use it on new rails app, then use dockrails, so it will be easy when you struggle when setting up the env.
Following is my cheatsheet, maybe it would useful for you :)