alexei-led / pumba

Chaos testing, network emulation, and stress testing tool for containers
Apache License 2.0
2.78k stars 195 forks source link

Target container filter #24

Open alexei-led opened 8 years ago

alexei-led commented 8 years ago

Use target container as filter instead of, or as an additional option to IP filter.

Tyson1986 commented 6 years ago

Very good feature. As a solution you can use something like this: docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name to get IP address of container and use it for existing filter.