FIND YOUR NEXT FEW LINES
Results for “clean”
Small, practical examples. Search by task or narrow things down below.
77 snippets foundClear filters
Preserve a failure status while an EXIT trap runs
Bash Scripts: Capture the status immediately on entry to the trap before running cleanup commands.
Bash Scripts✓ Tested
Remove related events by namespace
jQuery: Namespaced events let a feature clean up its own handlers.
jQuery✓ Tested
Run a command in a running container
Execute an additional process inside an existing container.
exec✓ Tested
Share data through a named volume
Keep a file across two short-lived containers.
volume✓ Tested
Temporarily store tracked-file edits
Restore a clean working tree and then reapply your saved changes.
stash✓ Tested