How to use docker with drupal and drush?

前端 未结 8 1680
日久生厌
日久生厌 2021-01-30 23:40

I\'d like to use drush. It needs to run in the drupal container. There\'s also a drush docker repo. But I have no clue how to make it available whithin the drupal container. It\

8条回答
  •  佛祖请我去吃肉
    2021-01-31 00:22

    The best option is to create your own image based on your actual container, include all the changes you want like drush, nano, vim, etc and push them in your own docker repo. To do that follow these: https://www.scalyr.com/blog/create-docker-image/ https://ropenscilabs.github.io/r-docker-tutorial/04-Dockerhub.html

提交回复
热议问题