running docker request from php -
i have encapsulated pdftk (pdf tool kit) program can run inside of fedora docker image. allows me run pdftk on newer aws ami image not support pdftk. when replacing pdftk in our php program docker run command, works great when running php program command line, when running cron job or mailbox command, docker not run. have made cron , mailbox users part of docker group, checked permissions , paths, still no joy.
the exec php command looks like:
$command = 'docker run -i -t --privileged -v /var/www/mbx/forms/inbox:/workdir -w /workdir/ brnlab/aultman-pdftk ./'.basename($files[$i]).' burst output ./pg_%03d.pdf';
oddly return on $command when running cron or mailbox command blank, not sure if there error or not. not appear hang up. ideas on best way diagnose issue further?
Comments
Post a Comment