Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUse Docker ENTRYPOINT #4776
Comments
simonpasquier
added
help wanted
low hanging fruit
labels
Oct 26, 2018
This comment has been minimized.
This comment has been minimized.
|
@simonpasquier I would like to help with this issue :) |
DrakeW
referenced this issue
Oct 27, 2018
Merged
Included default flags into Dockerfile entrypoint #4796
This comment has been minimized.
This comment has been minimized.
|
@simonpasquier PR submitted, let me know if there's anything else that you would like me to add |
simonpasquier
closed this
in
#4796
Nov 16, 2018
This comment has been minimized.
This comment has been minimized.
AndorCS
commented
Nov 22, 2018
•
|
Guys, this change brokes deployment which was works for years:
and
I have this in my deployment manifest:
|
This comment has been minimized.
This comment has been minimized.
|
@AndorCS You will have to update your configuration. |
This comment has been minimized.
This comment has been minimized.
AndorCS
commented
Nov 23, 2018
|
@SuperQ sure I can do it, but I really don't see any real reason for breaking what works for years. |
This comment has been minimized.
This comment has been minimized.
|
This was done to make deployment easier for everyone. You don't have to copy-and-paste all flags to add one additional flag change. |
This comment has been minimized.
This comment has been minimized.
AndorCS
commented
Nov 23, 2018
|
But I want to change the path to the config file, and now I should change the whole |
This comment has been minimized.
This comment has been minimized.
|
You change the path of the config file via |
This comment has been minimized.
This comment has been minimized.
AndorCS
commented
Nov 23, 2018
•
|
In this case, it's better for me to override I'm not against this change, but I don't like you kinda breaking what works for a long time even it was not the best way to run the application. Especially not for major version change. |
SuperQ commentedOct 23, 2018
Proposal
Use Docker
ENTRYPOINT0 rather thanCMDfor setting the default command line flag values.When CMD is used, any additional flags cause the default flags to be dropped.
This makes starting up Prometheus with a simple additional flag like
--storage.tsdb.retention=15dto need the full list of flags added.Environment
Docker