Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not run docker deployment #32

Closed
xcorp1986 opened this issue May 9, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@xcorp1986
Copy link

commented May 9, 2017

Hi,I have docker installed correctly,but when I add run configuration in phpstorm and run,the following message raising
Deploy log
Deploying 'Compose: docker-compose.yml'...
Failed to deploy 'Compose: docker-compose.yml': Cannot run program "docker-compose" (in directory "D:\project\docker-example"): CreateProcess error=2, 系统找不到指定的文件。
image

@xcorp1986

This comment has been minimized.

Copy link
Author

commented May 9, 2017

Additional,the executable program 'docker-compose' is install include in docker latest windows version

@xcorp1986 xcorp1986 changed the title cannt run docker deployment can not run docker deployment May 9, 2017

@MaXal

This comment has been minimized.

Copy link
Contributor

commented Jul 7, 2017

Sorry for the delay. Could you please do the following?

@MaXal MaXal self-assigned this Jul 7, 2017

@MaXal MaXal added the question label Jul 7, 2017

@xcorp1986

This comment has been minimized.

Copy link
Author

commented Nov 12, 2017

@MaXal Thx!It works~docker-compose should be full path definition,default it's "C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe"

@xcorp1986

This comment has been minimized.

Copy link
Author

commented Nov 12, 2017

the issue can be closed,thx~

@xcorp1986 xcorp1986 closed this Nov 12, 2017

@RobsonKarls

This comment has been minimized.

Copy link

commented Mar 6, 2018

Work with Rider, RubyMine and PhpStorm

Go to : / Preferences / Build,Execution,Deployment / Docker / Tools
Make sure that the "Docker Compose executable:" field contains the complete path where docker compose is installed into.
How to determine the complete path:
run "which docker-compose"
note the full path for docker-compose; i.e., "/usr/local/bin/docker-compose"
Click "Apply", Then click "OK"

docker-compose will now properly be executed when you "Run" the "docker deployment" configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.