Sign inSign up

satyadeep/drush

By satyadeep

•Updated about 6 years ago

Image
0

328

satyadeep/drush repository overview

⁠Drush Docker Container

A Docker⁠ container to run Drush⁠, Drupal⁠'s command line tool.

This includes drush versions, 6 through 10. Download the required version using tags.

⁠Usage

This covers how to run the Drush container through the Docker CLI⁠.

⁠Pull

Pull satyadeep/drush from the Docker repository:

docker pull satyadeep/drush

Alternatively, you can download a specific version of Drush:

docker pull satyadeep/drush:9
⁠Run

To execute Drush directly, run the container with docker run, mounting the /app volume:

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

If you installed a specific version of Drush, run it with:

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

⁠Development

  1. Download the source:
git clone https://github.com/satyadeep/drush-docker.git
cd drush-docker
  1. Build one of the images:
docker build -t satyadeep/drush:8 8
  1. Use the Makefile to build and test all images:
make
  1. Visit the satyadeep/drush Docker Hub⁠ for build details.

  2. Submit Pull Requests and create issues for new changes and features you'd like to add.

Tag summary

Content type

Image

Digest

Size

93.5 MB

Last updated

about 6 years ago

docker pull satyadeep/drush