Public | Automated Build

Last pushed: a year ago
Short Description
Drupal is an open source content management platform powering millions of websites and applications.
Full Description

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

2) 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.

3) Go into your drupal container.

docker exec -it <CONTAINER_NAME> bash

4) Add local user into your container.

type:

add-local-user

5) Install your drupal8 instance.

Open your navigator and do to the page [http://localhost:8080/](http://localhost:8080/)

Mistakes

Docker Pull Command
Owner
ngako
Source Repository

Comments (0)