summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/README.md
diff options
context:
space:
mode:
authorImcom Jin <jinyu.bjut@gmail.com>2017-12-07 12:18:06 +0800
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-12-16 20:00:38 +0900
commit7b4ebf9be4b719d101593baccdb813d02c90ca02 (patch)
tree1862b50d88bd1105af150754d5f13c41be633a32 /test/scenario_test/README.md
parent72740f758364d2eeefa5a7c71d8c2a1556fa2cc8 (diff)
use label for containers and networks in order to avoid colliding with others
Diffstat (limited to 'test/scenario_test/README.md')
-rw-r--r--test/scenario_test/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scenario_test/README.md b/test/scenario_test/README.md
index 540f6628..a4ab549e 100644
--- a/test/scenario_test/README.md
+++ b/test/scenario_test/README.md
@@ -110,7 +110,7 @@ A lot of containers, networks temporary files are created during the test.
Let's clean up.
```shell
-$ sudo docker rm -f $(sudo docker ps -a -q)
-$ sudo docker network prune -f
+$ sudo docker rm -f $(sudo docker ps -a -q -f "label=gobgp-test")
+$ sudo docker network prune -f --filter "label=gobgp-test"
$ sudo rm -rf /tmp/gobgp
```