Skip to main content

honey plugins gc

honey plugins gc

Remove keep_warm docker plugin containers

Synopsis

Remove docker-runtime plugin containers left running by plugins.keep_warm.

With keep_warm enabled, a plugin's container is reused across honey runs instead of being torn down, so it lingers until reaped. This removes those containers (matched by the honey.plugin.managed label) from the local docker daemon.

By default every warm plugin container is removed. Use --older-than to remove only containers created more than the given duration ago (e.g. --older-than 1h), leaving recently-used ones warm.

honey plugins gc [flags]

Options

-h, --help help for gc
--older-than duration Only remove containers created more than this ago (e.g. 1h, 30m); default removes all
--socket string Override the docker daemon socket (default: DOCKER_HOST / docker env)

Options inherited from parent commands

--cache-dir string Override cache directory (default: XDG_CACHE_HOME/honey)
--cache-ttl duration Cache time-to-live (host discovery) (default 10m0s)
--config string Path to honey YAML (optional; also HONEY_CONFIG or default paths)
--debug-log string Path to write debug logs (disables debug logging if empty)
--no-cache Bypass read/write cache (host discovery)
--record-dir string Session recording directory for search (TUI), web, and cue-exec; overrides defaults.record_dir; default <directory of config.yaml>/records
--refresh Ignore cached entries and refresh (host discovery)

SEE ALSO