Comments (9)
Is this for telegraf?
/cc @sparrc
from influxdata-docker.
@jsternberg Apologies, yes that is the case!
from influxdata-docker.
the ipmi_sensors plugin depends on ipmitool, maybe it's just a documentation issue for telegraf.
from influxdata-docker.
@sparrc That is correct, but the problem is that the docker image needs access to ipmitool
in order to use that plugin as said. There is no good way to install ipmitool without it being a part of the docker image.
I am suggesting adding that line above to the Dockerfile
itself
from influxdata-docker.
@AddoSolutions I'm not sure if we should be installing other tools to be used with specific plugins as part of the base telegraf image. If there's substantial interest, we can publish plugin images for it being easier for users. At the moment though, you can just build a new docker image from the base image and it would be simple to have that image install the ipmitool.
We don't want to cause a substantial amount of bloat for people who are using the telegraf image for something else.
from influxdata-docker.
+1, we don't want to bloat the image with external packages. Telegraf attempts to avoid having external package dependencies but occasionally that's not possible, as in the case of ipmitool
from influxdata-docker.
@jsternberg I agree with that, creating too big of an image would be a bummer. Do you think though that as the ipmi tools are part of the core telegraf package, that it should work?
Like, if this were some obscure plugin that one has to install, I can see that, but I would think that a core plugin to telegraf would be supported?
from influxdata-docker.
I'm facing the same problem, how can I add it to the docker compose?
from influxdata-docker.
I don't work at influxdata anymore and don't maintain the images, but something I've done when I need to modify an upstream image with docker compose is to do something like the following.
Add a Dockerfile
somewhere in your compose structure. Since my personal thing is fairly small, I just keep it in Dockerfile
but you can customize this to be anywhere you want. Here's an example of me modifying the eclipse-mosquitto
image to add a custom configuration file.
FROM docker.io/library/eclipse-mosquitto AS docker.io/jsternberg/mosquitto
COPY ./mosquitto/mosquitto.conf /mosquitto/config/mosquitto.conf
Then in docker compose:
services:
mqtt:
image: docker.io/jsternberg/mosquitto
build:
target: docker.io/jsternberg/mosquitto
Whenever you make a change, you might need to do docker compose up -d --build
to rebuild the image. It doesn't seem to do that automatically. If you're just doing things locally, then this should be good enough. If you're running this in a large number of places, it might be worth building the image in CI and then pulling it down so you aren't using the storage resources from the builder cache on a production machine. I think the design is you can use the same compose file for dev or production but, in production, you omit the --build
flag.
from influxdata-docker.
Related Issues (20)
- Telegraf docker image runs as root user HOT 3
- Error in plugin: Got permission denied while trying to connect to the Docker daemon socket HOT 1
- telegraf READ.ME - Minimal example to start an InfluxDB container fails with the current versions HOT 3
- Env configurations not recognized in lastest tagged image? HOT 1
- docker pull influxdb HOT 1
- Telegraf container - logtarget/logfile not working when using input.docker with special user/group ID HOT 5
- [InfluxDBv2] Wrong Error Description for DOCKER_INFLUXDB_INIT_ADMIN_TOKEN
- [InfluxDBv2] Admin Token via `DOCKER_INFLUXDB_INIT_ADMIN_TOKEN_FILE` env var is not set in the container causing authorization errors HOT 1
- Automated Setup leaves a file behind preventing startup in influxdb:latest HOT 1
- Default directories
- Start Telegraf container with latest config from Influx Web UI [workaround] HOT 3
- Critical CVE-2018-12976 found in latest docker image HOT 6
- Influx DB 1.8 program will not open
- Chronograf 1.10.2 docker image critical vulnerability CVE-2023-45853
- Running in rootless docker is nonfunctional with host filesystem bind mounts due to overriden user ID inside container
- Telegraf: inputs.docker can no longer access Docker socket due to recent entrypoint.sh changes HOT 16
- InfluxDB won't load data after restart - Azure Blob storage
- Telegraf docker entrypoint script change needed to support deployment from compose script HOT 2
- InfluxDB hitting default port even after override with INFLUXD_HTTP_BIND_ADDRESS
- Starting a v2 container throws property not found: `tls-cert`, `tls-key` HOT 3
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 influxdata-docker.