Sign inSign up

siliconmeadow/drush

By siliconmeadow

•Updated over 7 years ago

Image
0

171

siliconmeadow/drush repository overview

⁠Drush Docker Container Build Status

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

⁠Usage

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

⁠Pull

Pull drush/drush from the Docker repository:

docker pull drush/drush

Alternatively, you can download a specific version of Drush:

docker pull drush/drush:8
⁠Run

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

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

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

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

⁠Development

  1. Download the source:
git clone https://github.com/RobLoach/drush-docker.git
cd drush-docker
  1. Build one of the images:
docker build -t drush/drush:8 8
  1. Use the Makefile to build and test all images:
make
  1. Visit the drush/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

112.2 MB

Last updated

over 7 years ago

docker pull siliconmeadow/drush