phpiniscan Put your php.ini to /tmp and run: # docker pull dianmao/phpiniscan # docker run --rm -ti -v /tmp/php.ini:/tmp/php.ini dianmao/phpiniscan