NGINX docker container immediately stops

Solution 1:

You have to define the correct path for your nginx logs.

/var/log/nginx/error.log and /var/log/nginx/access.log