Please see the doc on Github, https://github.com/Boran/docker-drupal, file issues there too
Simplest form, start a D7 container:
docker run -td boran/drupal
docker run -ti boran/drupal /bin/bash
Start a container that listens on the public port 8003, give it a name:
docker run -td -p 8003:80 --name drupal8003 boran/drupal
Setting the admin password and Drupal site name:
docker run -td -p 8003:80 -e "DRUPAL_ADMIN_PW=foo" -e
"DRUPAL_SITE_NAME=My Super site" --name drupal8003 boran/drupal
Drupal 6 can be installed, the DB can be external ... there are many many installation variants, see the github README and the Dockerfile.
shells access: yes use /bin/bash, os the "nsenter" tool (see Troubleshooting sections of the README on https://github.com/Boran/docker-drupal)
drupal folder: Yes, I did not want to include drupal as it would soon be out of date, when building download with "drush dl drupal" into a "drupal" folder. I must add that to the (github) README.
Install a new moduel: "nsenter" is really waht you want here.
patrick@kubuntu:~$ sudo docker run -i -t boran/drupal
patrick@kubuntu:~$ sudo docker run -i -t boran/drupal /bin/bash [sudo] password for patrick: root@7d1fa24601c7:/var/www#
- How i can us ssh for login
- I not find the folder drupal from install
- I can use localhost:8003 it works.
- I like now install new Module with Drush dl