Open Reka90 opened 3 years ago
You should use:
docker run -d -p 9120:9117 joeelliott/cert-exporter ./app -logtostderr=true -include-cert-glob "/etc/ssl/certs/*.pem"
You should use:
docker run -d -p 9120:9117 joeelliott/cert-exporter ./app -logtostderr=true -include-cert-glob "/etc/ssl/certs/*.pem"
I suppose you can, but is there any reason for not using entrypoint? I think that's what @Reka90 meant when creating this issue.
Anywho, thanks for this tool!
I pulled the image (docker pull joeelliott/cert-exporter).. but when I try to run following docker run command it give following error. Would you please provide the docker run command :
docker run -d -p 9120:9117 joeelliott/cert-exporter --logtostderr=true --include-glob /etc/ssl/certs/*.pem
18b06542338fe91a9a9732c75405cc7ff81e6d0ec5425404fb9ba318d8f22028 docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "--logtostderr=true": executable file not found in $PATH: unknown.