google / google/fuzzbench

clear containers or images - fuzzbench only or experiment only support

Open
#479 1 comment 0 reactions 0 assignees Claimed by @zchcai View on GitHub
local
Dominant language
Python
Stars
1.2k
Forks
302
PR merge metrics
No merged PRs in 30d

Description

## *Who* is affected?
Machines have other docker containers running background, or have other images caches, not related to fuzzbench project.
Especially local runners and debuggers.

## *When* does this need occur?

Run `make clear-cache`.
https://github.com/google/fuzzbench/blob/ca24c304439466eab8331b1ba5bd5aaad76a58e8/Makefile#L48-L52
Also, there is need when doing local testing runs.

## Expected behavior (i.e. solution)

Several thoughts and anticipations:
1. Separate stoping/removing docker *containers* with removing docker *images* caches.
2. Only clear/remove fuzzbench related docker images or containers.
3. Can provide options for experiment-specific docker containers stopping. This is important for local end-to-end testing, where docker runners have been started while that test is failed. We want to stop and remove docker containers only related to that test experiment.

Possible solution is similar to ones in #470. We may need to specify the experiment name or other identifiers when creating docker containers to run.

## Other Comments
Related to #365 and #470.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.