stevespringett / nist-data-mirror

A simple Java command-line utility to mirror the CVE JSON data from NIST.
Apache License 2.0
206 stars 93 forks source link

Unable to run nist-data-mirror on OpenShift #54

Open abdulahjamak-abh opened 4 years ago

abdulahjamak-abh commented 4 years ago

As OpenShift does not support using the root user, it is not possible to deploy the Docker image to OpenShift. It fails with the followig error: screenshot

It seems that supervisord is configured to run as root: https://github.com/stevespringett/nist-data-mirror/blob/master/src/docker/conf/supervisord.conf#L3

davince72 commented 4 years ago

We have the same problem, not able to run dockerimage on openshift because of the root-user.

Error: Can't drop privilege as nonroot user
For help, use /usr/bin/supervisord -h
tauonico commented 2 years ago

Also port 80 for httpd is not allowed:

(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80

tayyab80 commented 2 years ago

Same problem as well, not able to drop the user to nonroot for supervisord. Any workaround or solution for this?