Skip to content

Usage of auto_remove and remove param #3289

Open
@Victor725

Description

When using client.containers.run(), we can determine parameters such as image, command, ...
I wander what the difference between auto_remove and remove?
In Official Document, auto_remove defined as:

auto_remove (bool) – enable auto-removal of the container on daemon side when the container’s process exits.

remove defined as:

remove (bool) – Remove the container when it has finished running. Default: False.

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