Skip to content

Add option to support updating image on start/restart #16

@DrewBarrett

Description

@DrewBarrett

Basically I'm proposing to add a flag that changes the unit file to contain

TimeoutStartSec=0
ExecStartPre=-/usr/bin/docker kill image
ExecStartPre=-/usr/bin/docker rm image
ExecStartPre=/usr/bin/docker pull user/image

as opposed to the current

ExecStartPre=-{{ docker_path }} rm -f {{ container_name }}

I'm going to implement this for my own use, so let me know if you'd like me to submit a pull request.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions