Unable to Build Docker from PyCharm on Remote Server - PyCharm Tries to Build Container Locally instead of on Remote Server


I am trying to start my Docker container on a remote (Linux) server by running the docker-compose.yml files from PyCharm, after having configured my Deployment Configuration to point to the remote Docker server. The connections to the configured remote Docker server is successful, as seen below:

However, after I attempt to run it, instead of running the docker-compose on remote, I see the service failing (looking at the Build Log on the Services tab) with the following messages.

docker-compose.exe -f C:\Users\myuser\MyProjects\helpervm-configurator\docker-compose.yml up --force-recreate -d --no-deps --build
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "docker-compose.exe" (in directory "C:\Users\myuser\MyProjects\helpervm-configurator"): CreateProcess error=2, The system cannot find the file specified

I am not able to figure out why the docker-compose appears to being run on my local Windows machine instead of on the remote Docker Server. 

Can anybody help with how to start troubleshooting this ?

PyCharm Product versionBuild #PY-221.6008.17, built on July 20, 2022

Upload id: 2022_07_22_NXLvC7ECNYNXNgxR9CNQ3w (file: Doc1.pdf)


Unfortunately, we don't support Docker on the remote host yet. Please vote for the corresponding feature request in our issue tracker https://youtrack.jetbrains.com/issue/PY-33489/Native-support-for-running-Docker-on-the-remote-machine


I have the same issue but I am certain that I was building docker images on a remote docker host without having to install docker on the local Windows machine. Now it doesn't work and the build log is not displaying any error messages.