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

Remove tc container after usage #164

Open
jonastheis opened this issue May 21, 2020 · 1 comment
Open

Remove tc container after usage #164

jonastheis opened this issue May 21, 2020 · 1 comment
Assignees
Labels

Comments

@jonastheis
Copy link

Problem

When using Pumba with an external tc-image then the spawned containers are not removed which leaves behind a plethora of created/exited containers.

image

Specifically, I'm using the following command

docker run -it --rm  -v /var/run/docker.sock:/var/run/docker.sock gaiaadm/pumba --log-level=debug netem --duration=100s -target=[IP] --tc-image=gaiadocker/iproute2 loss --percent=100 [container]

Expected behaviour

I'd expect the created tc helper containers to be deleted once Pumba exits. As a workaround, I'm currently using the following to clean up

docker rm -f "$(docker ps -a -q -f ancestor=gaiadocker/iproute2)"
@alexei-led
Copy link
Owner

@jonastheis thank you for reporting this issue. Probably, it's related to API version, pumba is using. Need to check.

@alexei-led alexei-led self-assigned this Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants