Skip to content

Docker Entrypoint setting ignored during update #400

@Khoulaiz

Description

@Khoulaiz

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

  1. Create a docker image with entrypoint
  2. deploy it
  3. change the entrypoint by adding another cmd line parameter
  4. push it again. Update will be recognized but change will be ignored according to cf push output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions