-
Notifications
You must be signed in to change notification settings - Fork 217
Description
Summary
When updating an existing docker image with a new version of the image, the ENTRYPOINT settings from the updated image is ignored and the old ENTRYPOINT setting is applied (according to the output of the cf push
command).
I changed the ENTRYPOINT in my image from
ENTRYPOINT ["/go/bin/imaginary", "-cors", "-concurrency", "20"]
to
ENTRYPOINT ["/go/bin/imaginary", "-cors", "-concurrency", "20", "-enable-url-source"]
Expected Result
Entrypoint for the docker image in cf should be
ENTRYPOINT ["/go/bin/imaginary", "-cors", "-concurrency", "20", "-enable-url-source"]
Actual Result
The image was updated but the entrypoint remained to
ENTRYPOINT ["/go/bin/imaginary", "-cors", "-concurrency", "20"]
Context
I am using this microservice via the docker image. Updating the image without interruption would be important once we are going in production.
Steps to Reproduce
- Create a docker image with entrypoint
- deploy it
- change the entrypoint by adding another cmd line parameter
- push it again. Update will be recognized but change will be ignored according to
cf push
output