mirror of https://github.com/vacp2p/wakurtosis.git
15 lines
483 B
Bash
Executable File
15 lines
483 B
Bash
Executable File
#!/bin/sh
|
|
enclave_name=${1:-"wakurtosis"}
|
|
# hardcoded files/fifo/folders
|
|
rm -f ./kurtosisrun_log.txt
|
|
rm -f /tmp/hostproc-signal.fifo
|
|
rm -rf ./wakurtosis_logs ./config/topology_generated ./monitoring/host-proc/stats
|
|
|
|
docker stop gennet cadvisor > /dev/null 2>&1
|
|
docker rm gennet cadvisor > /dev/null 2>&1
|
|
|
|
kurtosis --cli-log-level "error" enclave rm -f $enclave_name > /dev/null 2>&1
|
|
|
|
docker stop $(docker ps -qa) > /dev/null 2>&1
|
|
docker rm $(docker ps -qa) > /dev/null 2>&1
|