Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run one off docker compose run commands with --rm #11662

Open
brennie opened this issue Oct 31, 2024 · 0 comments · May be fixed by #11664
Open

Run one off docker compose run commands with --rm #11662

brennie opened this issue Oct 31, 2024 · 0 comments · May be fixed by #11664
Assignees

Comments

@brennie
Copy link
Member

brennie commented Oct 31, 2024

I run make bash a lot and therefore have a lot of containers laying around that aren't automatically deleted. If we run with --rm, the containers will be deleted after exiting.

┆Issue is synchronized with this Jira Task

@brennie brennie self-assigned this Oct 31, 2024
@brennie brennie changed the title Run one of\f docker compose run commands with --rm Run one off docker compose run commands with --rm Oct 31, 2024
brennie added a commit that referenced this issue Oct 31, 2024
Because:

- we are creating many short-lived containers for commands; and
- we are not cleaning them up except in `make kill`

This commit:

- updates all docker run commands to use the `--rm` flag so that they are
  automatically deleted after the container exits.

Fixes #11662
@brennie brennie linked a pull request Oct 31, 2024 that will close this issue
brennie added a commit that referenced this issue Oct 31, 2024
Because:

- we are creating many short-lived containers for commands; and
- we are not cleaning them up except in `make kill`

This commit:

- updates all docker run commands to use the `--rm` flag so that they are
  automatically deleted after the container exits.

Fixes #11662
brennie added a commit that referenced this issue Oct 31, 2024
Because:

- we are creating many short-lived containers for commands; and
- we are not cleaning them up except in `make kill`

This commit:

- updates all docker run commands to use the `--rm` flag so that they are
  automatically deleted after the container exits.

Fixes #11662
brennie added a commit that referenced this issue Oct 31, 2024
Because:

- we are creating many short-lived containers for commands; and
- we are not cleaning them up except in `make kill`

This commit:

- updates all docker run commands to use the `--rm` flag so that they are
  automatically deleted after the container exits.

Fixes #11662
brennie added a commit that referenced this issue Nov 1, 2024
Because:

- we are creating many short-lived containers for commands; and
- we are not cleaning them up except in `make kill`

This commit:

- updates all docker run commands to use the `--rm` flag so that they are
  automatically deleted after the container exits.

Fixes #11662
brennie added a commit that referenced this issue Nov 1, 2024
Because:

- we are creating many short-lived containers for commands; and
- we are not cleaning them up except in `make kill`

This commit:

- updates all docker run commands to use the `--rm` flag so that they are
  automatically deleted after the container exits.

Fixes #11662
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant