This image is based on the official php image. It also does the following:
pdo_pgsql, pdo_mysql, mysqli, mbstring, mcrypt, zip, sockets, intl and bcmath extensions.realpath_cache_size and realpath_cache_ttl.UTC.Dockerfile links8.0.1, 8.0, 8, latest (8.0/Dockerfile)7.4.12, 7.4, 7, (7.4/Dockerfile)7.3.24, 7.3 (7.3/Dockerfile)See the php image documentation.
But use krouma/php-xdebug instead of php.
It should work out of the box with your IDE.
You must specify the following option:
xdebug.remote_autostartxdebug.remote_hostFor example, you can run:
php -d xdebug.remote_autostart=1 -d xdebug.remote_host=192.168.99.1 test.php
This image is officially supported on Docker version 1.8.1.
Support for older versions (down to 1.6) is provided on a best-effort basis.
Please see the Docker installation documentation for details on how to upgrade your Docker daemon.
Content type
-
Digest
Size
-
Last updated
over 5 years ago
docker pull krouma/php-xdebug