While not specific to Docker itself, the “Twelve Factor Applications” workflow by https://12factor.net/ should be one of the first things a developer reads and understands.
“Twelve Factor Applications” lays out a set of rules and design decisions that help scalable, cloud enabled applications be easily developed and deployed. Docker also helps scale applications and run them in the cloud, so they go hand-in-hand.
Following the rules laid out in the “Twelve Factor Applications” website will help make sure that your application scales well inside of Docker. There are benefits to using Docker even without taking these into account, but they will certainly help.
Code should be stored, and ...