| 2 | |
| 3 | == Policies |
| 4 | === Building containers |
| 5 | ==== Packer |
| 6 | ==== Git |
| 7 | |
| 8 | === Data |
| 9 | |
| 10 | ||= Kind of data =||= How to use it with Docker =|| |
| 11 | ||Variable data on which app configuration does not directly depend||on volume per content set|| |
| 12 | ||Application configuration||within image of application|| |
| 13 | ||Global configuration (used by more than one container)||on volume per type of configuration|| |
| 14 | ||Secrets (passwords, private key files)||on isolated volume (exactly the same across hypervisors)|| |
| 15 | |
| 16 | === Naming |
| 17 | '''Volumes''': |
| 18 | |
| 19 | '''Volume containers''': |
| 20 | |
| 21 | '''Containers''': |
| 22 | |
| 23 | '''Images''': |
| 24 | |
| 25 | '''Git repositories''': |
| 26 | |
| 27 | === Layering, inheritance |
| 28 | * One base image. If possible, this image is both a demo and production image. |
| 29 | * If not possible: separate demo and production images that inherit from the base image. |