Skip to content

Provide a way to remove one-off containers created by docker-compose run #2774

@dnephin

Description

@dnephin

Related to: #2593 and #943
Copied from: #2568, #2184

One-off containers created by docker-compose run are not removed by default, and aren't removed by docker-compose rm.

We should do at least one of the following:

  1. Make --rm flag default for fig run #943 - make --rm the default for run
  2. add a flag to rm to include one-off containers
  3. remove one-off containers as part of rm by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions