Docker tools settings
File | Settings | Build, Execution, Deployment | Docker | Tools for Windows and Linux
PyCharm | Settings | Build, Execution, Deployment | Docker | Tools for macOS
CtrlAlt0S
Specify the paths to the Docker CLI executables that PyCharm uses for interacting with the Docker daemon.
This functionality relies on the Docker plugin, which is bundled and enabled in PyCharm by default. If the relevant features are not available, make sure that you did not disable the plugin.
note
The Docker plugin is available by default only in PyCharm Professional. For PyCharm Community Edition, you need to install the Docker plugin as described in Install plugins.
Press CtrlAlt0S to open settings and then select Plugins.
Open the Installed tab, find the Docker plugin, and select the checkbox next to the plugin name.
This page appears In the Settings dialog (CtrlAlt0S) , 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 \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.
Thanks for your feedback!