Sign inSign up

ngako/drupal8

By ngako

•Updated almost 10 years ago

Drupal is an open source content management platform powering millions of websites and applications.

Image
0

1.1K

ngako/drupal8 repository overview

⁠drupal8

Drupal⁠ is an open source content management platform powering millions of websites and applications. This is a dockerfile use to build a complet drupal8 development environment.

⁠Table of Contents

⁠Launch your environnement

  1. Pull the image.
docker pull ngako/drupal8
  1. Create a container
docker run -it --name <CONTAINER_NAME> --link <CONTAINER_MYSQL_NAME>:mysql -p 8080:80 -d ngako/drupal8

. You can launch a container based on mysql docker image by type:

docker run -it --name <CONTAINER_MYSQL_NAME> -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=drupal8 -e MYSQL_USER=drupal8 -e MYSQL_PASSWORD=drupal8 -d mysql

see documentation⁠ for more details.

  1. Go into your drupal container.
docker exec -it <CONTAINER_NAME> bash
  1. Add local user into your container.

type:

add-local-user
  1. Install your drupal8 instance.
Open your navigator and do to the page [http://localhost:8080/](http://localhost:8080/)

⁠Mistakes

Tag summary

Content type

Image

Digest

Size

226.4 MB

Last updated

almost 10 years ago

docker pull ngako/drupal8