Comments (7)
Hi!
It should have been fixed with the update they did to the container 4 years ago. Are you using the latest image version? Try using a tagged Docker image, for example:
docker pull prom/blackbox-exporter:v0.18.0
from stian.tech.
we are using v0.16.0
Do we need root access for container where black box exporter running
from stian.tech.
Try v0.18.0 then.
If that does not work then you may need to use root / privileged access, yes.
from stian.tech.
FROM quay.io/prometheus/busybox:latest
COPY blackbox.yml /etc/blackbox_exporter/config.yml
USER root
EXPOSE 9115
ENTRYPOINT [ "/bin/blackbox_exporter" ]
CMD [ "-config.file=/etc/blackbox_exporter/config.yml" ]
from stian.tech.
this is our docker file still we are facing same issue
from stian.tech.
I don't have experience with Openshift and how it deals with permissions. You may have more luck creating an issue or asking in an Openshift community, or directly in the prometheus repos.
from stian.tech.
We need to apply this config at target serve side
distribution may configure net.ipv4.ping_group_range by default in /etc/sysctl.conf or similar. If not you can set net.ipv4.ping_group_range = 0 2147483647 to allow any user the ability to use ping.
do we need to run this config at container side where black running
Alternatively the capability can be set by executing setcap cap_net_raw+ep blackbox_exporter
is that right
is something wrong please correct me
from stian.tech.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stian.tech.