sixeyed / diamol

Code samples for the book "Learn Docker in a Month of Lunches"
https://www.manning.com/books/learn-docker-in-a-month-of-lunches
Creative Commons Attribution Share Alike 4.0 International
497 stars 263 forks source link

Fluentd Windows Image not using FLUENTD_CONF #9

Open seanschneeweiss opened 4 years ago

seanschneeweiss commented 4 years ago

Changes to FLUENTD_CONF in the fluentd image https://github.com/sixeyed/diamol/blob/master/images/fluentd/windows/Dockerfile have no effect.

Could use a custom entrypoint as a workaround:

entrypoint: ["cmd", "/k", "fluentd", "-c", "C:\\fluentd\\etc\\%FLUENTD_CONF%"]
yangxinyun commented 3 years ago

Idem.

Env FLUENTD_CONF makes no difference whatsoever in the exercise.