Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4777

Troubleshooting • Nginx.pid missing in Alpine Linux Docker Container

$
0
0
I'm trying to follow along with the Grant Collins Raspberry Pie home lab video and am having some trouble with Nginx. I'm trying to run the command

Code:

nginx -s reload
while in the Docker container and I get the following error
[error] open() "/var/run/nginx.pid" failed (2: No such file or directory)
I've tried navigating through other directories and am convinced the nginx.pid file just doesn't exist. Is this a faulty Docker pull of nginx/is it worth trying to remove the container and going through the setup process again? Or is this a known issue that there's a fix for?

Statistics: Posted by SteveJawns92 — Thu May 02, 2024 2:43 am



Viewing all articles
Browse latest Browse all 4777

Trending Articles