I have a python script that collects data and is able to send the data via http request to my influxdb. It works fine, UNTIL I try to run the same script within the container. I get a 204 status code, but when I try to view the data in real time (every 5 seconds via Grafana) no data shows up… but if I go back to running the python script outside of the docker container, it runs fine and I can see the data. Has anyone else had this problem? Thanks to all of those who reply in advance.
Docker command: docker run -v /dev/data-streaming/CANable:/dev/data-streaming/CANa ble --network host --privileged stream-data
InfluxDB is running on a locally hosted server of ours. The hostname is available on our network. We still get a ‘204 No content’ response in both cases… it’s just that when we run it inside the container no data is actually being sent it seems.