blob: 697850339c59fe4abe2a6319b7871f078ed7e0fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#!/bin/bash
#Script to kill and remove all simulators
docker logs dfc_mr-sim
echo "Killing simulator containers"
docker kill dfc_dr-sim
docker kill dfc_dr-redir-sim
docker kill dfc_mr-sim
docker kill dfc_sftp-server0
docker kill dfc_sftp-server1
docker kill dfc_sftp-server2
docker kill dfc_sftp-server3
docker kill dfc_sftp-server4
docker kill dfc_ftpes-server-vsftpd0
docker kill dfc_ftpes-server-vsftpd1
docker kill dfc_ftpes-server-vsftpd2
docker kill dfc_ftpes-server-vsftpd3
docker kill dfc_ftpes-server-vsftpd4
docker kill dfc_http-server0
docker kill dfc_http-server1
docker kill dfc_http-server2
docker kill dfc_http-server3
docker kill dfc_http-server4
docker kill dfc_cbs
docker kill dfc_consul
echo "Removing simulator containers"
docker rm dfc_dr-sim
docker rm dfc_dr-redir-sim
docker rm dfc_mr-sim
docker rm dfc_sftp-server0
docker rm dfc_sftp-server1
docker rm dfc_sftp-server2
docker rm dfc_sftp-server3
docker rm dfc_sftp-server4
docker rm dfc_ftpes-server-vsftpd0
docker rm dfc_ftpes-server-vsftpd1
docker rm dfc_ftpes-server-vsftpd2
docker rm dfc_ftpes-server-vsftpd3
docker rm dfc_ftpes-server-vsftpd4
docker rm dfc_http-server0
docker rm dfc_http-server1
docker rm dfc_http-server2
docker rm dfc_http-server3
docker rm dfc_http-server4
docker rm dfc_cbs
docker rm dfc_consul
echo "done"
|