Trouble Using SSH to Connect to Docker Daemon on Remote
Answered
I'm running Intellij on a HyperV Windows VM, but realized I wasn't able to run Docker on a virtual machine. I created an Ubuntu VM to run my Docker instance on and attempted to set up the connection to this server through Intellij using SSH. It seems that the connection is successful, but when I try to run my docker-compose.yml I am getting this response in my build log.
C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe -f C:\Users\stuie\IdeaProjects\Third Party Projects\DeliveryWebApp\docker-compose.yml up -d
env: ‘docker-compose’: No such file or directory
`docker-compose` process finished with exit code 127
Most posts I'm seeing about connecting to Docker through SSH predate Intellij having this feature added. Thanks
Please sign in to leave a comment.
Looks like a bug: https://youtrack.jetbrains.com/issue/IDEA-308217/docker-compose-deploy-incorrectly-prepares-ssh-environment.