Docker-compose Failed to Start lnmp?

  docker, question

Environment and software

Lnmp on githubPortal

Ariyun ECS-Ubuntu 16.04.2 LTS

Linux iZ2zecxzfewu856w8sll6dZ 4.4.0-63-generic #84-Ubuntu SMP Wed Feb 1 17:20:32 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Error description and screenshots

I found docker-compose’s lnmp on github, but php and mysql are both started. Why can’t nignx start?

This section has been the following since the doc-composeup was executed.

图片描述

Php and mysql are running through docker ps.

图片描述

The error reported is mysql’s error. It is suggested that you can use docker logs $container_id to check nginx’s log, or you can post the compose.yml code when nginx service is scheduled.

You can also try an environment I have arranged:https://github.com/zhaojunlik …