Skip to content

Proposal: Add -pull flag for docker run to re pull a existing img if newer exist befor running a container #10639

@frank-dspeed

Description

@frank-dspeed

Hello as we know docker run will pull a image if it is not there lets expect the case we use no : version it will pull latest what is realy great but now expect the image has changed and not changed version or is still latest so docker will not repull that img if it is there.

That is the point where this proposal hooks in we should add a flag like --repull to the run command to initate a pull (check for update) and then run the img that would help deploy and would maybe even be suggested by some users.

sure you can always do a script that does docker pull then docker run but a flag is maybe not wrong to what do you think=?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions