Docker tools settings
Specify the paths to the Docker CLI executables that PyCharm uses for interacting with the Docker daemon.
Enable the Docker plugin
This functionality relies on the Docker plugin, which is bundled and enabled in PyCharm by default. If the relevant features aren't available, make sure that you didn't disable the plugin.
Press Control+Alt+S to open the IDE settings and select
.Open the Installed tab, find the Docker plugin, and select the checkbox next to the plugin name.
This page appears In the Settings dialog (Control+Alt+S), when the plugin is enabled.
The plugin is bundled with PyCharm and is activated by default. If it is disabled, you can manually enable the plugin.
PyCharm 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\docker.exe
- Docker Compose executable
Specify the path to the Docker Compose standalone executable. Default locations:
macOS and Linux
/usr/local/bin/docker-compose
Windows
C:\Program Files\Docker\Docker\resources\docker-compose.exe
- Use Compose V2
Use the
docker compose
command instead of the standalonedocker-compose
.For more information, see Compose V2 Overview.