[note] PHP exec Docker run

For example: use this docker container to convert pdf file to html

  PHP use shell_exec function to exec docker run, there is some notes: Assign a container name with the –name option Automatically clean up the container and remove the file system when the container exits, you can add the –rm flag The input device is not a TTY. …

Continue reading