Based on skilld-docker-container
Default Drupal 8 installation with Docker.
Environment info:
- PHP 7.1
- Nginx 1.10
- Percona 5.7
1. Install docker for Linux, Mac OS X or Windows. For Mac and Windows make sure you're installing native docker app version 1.13, not docker toolbox.
For Linux install docker compose
make
- Install project.make clean
- totally remove project build folder, docker containers and network.make reinstall
- reinstall site.make info
- Show project info (IP).make chown
- Change permissions inside container. Use it in case you can not access files in build. folder from your machine.make exec
- docker exec into php container.docker-compose stop
- stop running servicesdocker-compose start
- start services (use after creating of the project)