What problem does it solve?

I have a few php based projects with or without a database.

As a newbie in docker I installed a rootless docker.

And to dockerfy exsiting projects quick and dirty. Sure copy & paste works, but if you have multiple configuration files where variables must match then variables are very helpful. So here is a stupid simple template generator.

The init script:

  • sets permisssions for container and local user
  • generates needed files for docker from configuration and a set of templates
  • starts/ stops your container
  • opens a console
  • starts php lint

What problems does it not solve?

It is a script for a dual container and Apache + PHP and (optional) Mariadb only. Nothing else.