Facing issue while running Nginx using docker on riscv
divyashree123456 opened this issue · 4 comments
I have created a docker file for nginx for riscv using ref of https://github.com/nginxinc/docker-nginx/tree/master/mainline/alpine-slim
installed nginx in base image as it is systemd service and added only paths in docker file.
Docker file is attached.
Dockerfile.txt
After creating image using this docker file ,while running a image i m facing issue as :
the dmsg for nginx is not coming and not showing any errors .
please help to me solve this issue.
Hi @divyashree123456 you should check the changes you've made to docker-entrypoint.sh file, since the version in this repository does not have "ready to run nginx" in it.
Also, it looks like container is running, since you see it in docker ps - so I'm not sure what the actual error is?
Hi @thresheek "ready to run nginx" is statement i have added in docker-entrypoint.sh file just for debugging .
need to get nginx logs after execution of this file ,those logs are not displaying for me .please help me to debug the issue.
used shell scripts and files are attached below.
files_for_nginx.zip
In X86 with a nginx:1.25.3-alpine-slim image is running with docker and getting logs as:
but not getting such logs with riscv machine

Thanks in advance
I believe you should just rebuild the Dockerfiles we provide and use those. Unfortunately we don't support custom builds of NGINX in this repo.
