Skip to content
This repository was archived by the owner on Mar 21, 2022. It is now read-only.
This repository was archived by the owner on Mar 21, 2022. It is now read-only.

Question -> docker run --rm #488

@diemol

Description

@diemol

Description

Hi,

When using the command line, I start the container like this: "docker run --rm {other options}...".

So far, I am able to start the container without any issues through the docker client, nevertheless I have not found how to add the "-- rm" option.

I saw this issue, but I don't know if it is related to what I want to achieve.

If the option does not exist yet, I could implement it via PR. I just wonder if the HostConfig class is the right place to do it.
I see that most of the HostConfig parameters seen here are mapped in that class.

Please let me know if it is possible to add the option with an existing method or if I could go ahead and implement it.

Thanks!

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