I would like to know how to create a docker instance from a web site.
Using a button in a html form, I`m thinking to use a php code like this:
Of course I will replace the command for “docker run …”
There is a better way to do this ?
I found some issues with permissions between docker and www-data who actually run the command.