PhpStorm 2023.3 Help

Docker tools settings

Specify the paths to the Docker CLI executables that PhpStorm uses for interacting with the Docker daemon.

Enable the Docker plugin

This functionality relies on the Docker plugin, which is bundled and enabled in PhpStorm by default. If the relevant features aren't available, make sure that you didn't disable the plugin.

  1. Press Ctrl+Alt+S to open the IDE settings and then select Plugins.

  2. Open the Installed tab, find the Docker plugin, and select the checkbox next to the plugin name.

For this page to be available, the Docker integration plugin must be installed and enabled.

The Docker Tools settings page

PhpStorm should be able to automatically detect the Docker CLI executables in the default install location. However, if you installed Docker in a custom location, you may need to specify the paths manually.

Docker executable

Specify the path to the base Docker CLI executable. Default locations:

macOS and Linux

/usr/local/bin/docker

Windows

C:\Program Files\Docker\Docker\resources\bin\docker.exe

Docker Compose executable

Specify the path to the Docker Compose standalone executable. By default, Compose V2 integrates into the Docker CLI platform and uses the same executable for Docker Compose via the docker compose command.

If you are using Compose V1, the main Docker executable will not work for Docker Compose. In this case, you need to specify the path to docker-compose. For more information, see docker-compose vs docker compose.

Last modified: 25 March 2024