feat(home): add repeatable security-audit Docker sandbox #11
@@ -290,7 +290,6 @@ cmd_start() {
|
|||||||
if container_running "$STATE_CONTAINER"; then
|
if container_running "$STATE_CONTAINER"; then
|
||||||
die "a sandbox for $app_dir is already running (container $STATE_CONTAINER); run '$PROG stop $app_arg' first"
|
die "a sandbox for $app_dir is already running (container $STATE_CONTAINER); run '$PROG stop $app_arg' first"
|
||||||
fi
|
fi
|
||||||
rm_run_dir "$STATE_RUN_DIR"
|
|
||||||
if container_exists "$STATE_CONTAINER"; then
|
if container_exists "$STATE_CONTAINER"; then
|
||||||
docker rm -f "$STATE_CONTAINER" >/dev/null 2>&1 || true
|
docker rm -f "$STATE_CONTAINER" >/dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user