Skip to content

Running container with Docker Run using the flags -d and --rm #3666

@strund3r

Description

@strund3r

File: engine/reference/run.md, CC @mstanleyjones

When talking about the Detached (-d) operator, it says that:

A container in detached mode cannot be automatically removed when it stops, this means you cannot use the --rm option with -d option.

But since the PR #20848, it is allowed to use the flags -d and --rm together.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions