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

Docker run issue #89

Open
Reka90 opened this issue Aug 18, 2021 · 2 comments
Open

Docker run issue #89

Reka90 opened this issue Aug 18, 2021 · 2 comments

Comments

@Reka90
Copy link

Reka90 commented Aug 18, 2021

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.

@faust64
Copy link
Contributor

faust64 commented Sep 25, 2021

You should use:

docker run -d -p 9120:9117 joeelliott/cert-exporter ./app -logtostderr=true -include-cert-glob "/etc/ssl/certs/*.pem"

@vladorf
Copy link

vladorf commented May 3, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants