riptl / discord-influx

Discord ➡️ InfluxDB metrics exporter
MIT License
21 stars 2 forks source link

Docker Terminology #11

Open chris-pryazhentsev opened 3 years ago

chris-pryazhentsev commented 3 years ago

What is the proper docker terminology in order to pass the required flags into the container in order to get the container running? I attempted: docker container run -it [image] ./discord-influx --influxdb-url [URL] --influxdb-org [org] --influxdb-bucket [bucketname]

However was given an error of:

Error: unknown command "./discord-influx" for "discord-influx" Run 'discord-influx --help' for usage. unknown command "./discord-influx" for "discord-influx"

Are there Environment Variables instead for me to put the required info in instead?

Thanks!

riptl commented 3 years ago

@that-llama-in-a-tuxedo This should work:

docker run -it [image] --influxdb-url [URL] --influxdb-org [org] --influxdb-bucket [bucketname]
riptl commented 3 years ago

Are there Environment Variables instead for me to put the required info in instead?

At the moment, only flags work for these options.