Skip to content

Recreate stopped containers #264

@pbaylas

Description

@pbaylas

I have some containers that are stopped by default and only started when accessed (via swag ondemand). This works very nicely, with one exception: when I update my containers via dockcheck (using -s) it pulls the new image for the stopped containers, but does not recreate the container. When the container gets started by swag ondemand, it seems to still be using the old image.

For my purposes it would be fine if dockcheck just started the containers, because ondemand will just shut them down again. However, based on #240, it sounds like it might be better for others if dockcheck remembered the state of the container and stopped it after recreating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions