I've been working a sane, repeatable way to develop a PHP app in containers, and I came up with this: https://github.com/chouseknecht/symfony-mariadb-nginx.
Develop on your laptop in containers, and build and test on your laptop (or in CI/CD), and then deploy to Kubernetes or OpenShift. Using Ansible Container it provides the tools to manage the full lifecycle of the app.
It's a start. Not perfect. Will be iterating on it, and I would love feedback and help. Join me!