Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't up -d nginx container #2235

Closed
mouyong opened this issue Aug 9, 2019 · 7 comments
Closed

can't up -d nginx container #2235

mouyong opened this issue Aug 9, 2019 · 7 comments

Comments

@mouyong
Copy link
Contributor

mouyong commented Aug 9, 2019

Info:

  • Docker version ($ docker --version): Docker version 19.03.1, build 74b1e89
  • Laradock commit ($ git rev-parse HEAD): ab3a325
  • System info (Mac, PC, Linux): PC
  • System info disto/version: Win 10

Issue:

nginx_1 | nginx: [emerg] open() "/var/log/nginx/error.log" failed (2: No such file or directory)
laradock_nginx_1 exited with code 1

Expected behavior:

up nginx container

Reproduce:

docker-compose up -d nginx

docker-compose logs nginx 

Relevant Code:

Attaching to laradock_nginx_1
nginx_1                | nginx: [emerg] open() "/var/log/nginx/error.log" failed (2: No such file or directory)
laradock_nginx_1 exited with code 1
@mouyong
Copy link
Contributor Author

mouyong commented Aug 9, 2019

image

@mouyong
Copy link
Contributor Author

mouyong commented Aug 9, 2019

#1627

@mouyong
Copy link
Contributor Author

mouyong commented Aug 9, 2019

image

when i comment this line. it can be up.

i don't know why.

@mouyong
Copy link
Contributor Author

mouyong commented Aug 9, 2019

this is my nginx.conf.

image

when i run up nginx container. the log in dir like this.

image

@stale
Copy link

stale bot commented Feb 5, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 5, 2020
@stale stale bot removed the Stale label Feb 13, 2020
@stale
Copy link

stale bot commented May 13, 2020

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label May 13, 2020
@stale
Copy link

stale bot commented Jun 3, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants