Search code examples
dockerphpstorm

Docker remote interpreter not showing up in newest PhpStorm


PhpStorm 2018.2.3

I try to use xdebug with PhpStorm

Dockerfile

FROM php:7.0-apache

RUN pecl install -o -f redis
RUN pecl install -o -f xdebug
RUN docker-php-ext-enable redis
RUN docker-php-ext-enable xdebug
RUN docker-php-ext-install pdo pdo_mysql mysqli
RUN apt-get update
RUN apt-get install locales-all -y

enter image description here

But the option for Docker as remote PHP never shows up.

I'm even connected to Docker over TCP from PhpStorm

enter image description here enter image description here


Solution

  • Please ensure that your PHP Docker plugin is enabled.

    That plugin is responsible for adding Docker support in PHP Interpreters section.