RobLoach / drush-docker

:whale: Docker Container to run Drush
http://registry.hub.docker.com/u/drush/drush
Other
19 stars 19 forks source link

Add Docker parameters before the actual Drush command. #9

Closed ozmodiar closed 8 years ago

ozmodiar commented 8 years ago

Hello

I've experienced some issues with the ordering of the Docker arguments as described in the README.

If I do it as described in the README:

$ docker run drush/drush -v $(pwd):/app help
The drush command '/path/to/app:/app help' could     [error]
not be found.  Run `drush cache-clear drush` to clear the commandfile
cache if you have installed new extensions.

So it seems that the arguments are confusing the Drush command...

$ docker run -v $(pwd):/app drush/drush help

This seems to work a little better :-)

Greetz!

RobLoach commented 8 years ago

Thanks for the documentation update! Glad it's working better for you :+1: .... It does make a bit more sense.