nginx, php-fpm, mariadb, redis
curl -L https://github.com/docker/compose/releases/download/1.14.0-rc2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
git clone https://github.com/devjiro76/nginx_php-fpm_maria_redis
cd nginx_php-fpm_maria_redis
rm -rf .git
Create a new file as "web/phpinfo.php"
<?php
phpinfo();
vi docker-compose.yml
and change the '<YOUR_PASSWD>' to what you want
docker-compose up -d
Open http://localhost/phpinfo.php
on your browser