Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Save this to a file named "drush" (not "drush.sh") and put it in the same
  4. # directory as your docker-compose file. Replace "SERVICE" with your docker
  5. # container's name.
  6.  
  7. # Now every time you run "drush" from this directory, it runs drush inside
  8. # your container instead. Cool!
  9.  
  10. docker-compose exec SERVICE drush $@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement